listagg函数
select a ,b ,c ,listagg(列名, '连接符') within group(order by 列名) from table group by 列名 order by a ,b ,c
select Listagg(a,',') within group(order by a) from table group by a
select Listagg(a,',') within group(order by b) from table group by a
网友评论