📜  如何使用 group by postgres 组合 diff colmun 值 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:11.954000             🧑  作者: Mango

代码示例2
SELECT movie, string_agg(actor, ', ' ORDER BY actor) AS actor_list
FROM   tbl
GROUP  BY 1;