转自:https://www.cnblogs.com/Roobbin/p/10733958.html
1.listagg() WITHIN GROUP () 将多行合并成一行
select listagg (列名, ',') WITHIN GROUP (ORDER BY 列名) as 别名 from 表名 where 条件表达式;
转自:https://www.cnblogs.com/Roobbin/p/10733958.html
1.listagg() WITHIN GROUP () 将多行合并成一行
select listagg (列名, ',') WITHIN GROUP (ORDER BY 列名) as 别名 from 表名 where 条件表达式;