感谢作者:本文来源:https://blog.csdn.net/sinat_36257389/article/details/81004843
oracle 的listag() within group()行转列函数。
他常用的是将多行合并成一列比较常用。
select tdeptno,t.ename from scott.emp t t.deptno = '20';