标签: oracle oracle10g string-aggregation listagg
select deptno,LISTAGG(ename, '; ') WITHIN GROUP (ORDER BY hire_date) "Employees" from emp group by deptno;
在上述查询中运行时出现ORA-00923错误
(Oracle数据库10g企业版10.2.0.1.0版)