Answers for "how to combine diff colmun value using group by postgres"

SQL
0

how to combine diff colmun value using group by postgres

SELECT movie, string_agg(actor, ', ') AS actor_list
FROM   tbl
GROUP  BY 1;
Posted by: Guest on April-06-2020
0

how to combine diff colmun value using group by postgres

SELECT movie, string_agg(actor, ', ' ORDER BY actor) AS actor_list
FROM   tbl
GROUP  BY 1;
Posted by: Guest on June-09-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language