PostgreSQL łączą wartości w jednym polu
SELECT movie, string_agg(actor, ', ') AS actor_list
FROM tbl
GROUP BY 1;
Fine Falcon
SELECT movie, string_agg(actor, ', ') AS actor_list
FROM tbl
GROUP BY 1;