Hvis du bruger MySQL, kan du bruge GROUP_CONCAT : SELECT status, GROUP_CONCAT(title) FROM posts GROUP BY status