1.listagg() WITHIN GROUP () 将多行合并成一行
select listagg (列名, ',') WITHIN GROUP (ORDER BY 列名) as 别名 from 表名 where 条件表达式;
参考资料:https://www.cnblogs.com/sjxbg/p/9859100.html