请问下:
SELECT B.ENAME, B.SAL,
LISTAGG(B.ENAME || ':' || B.SAL,'/')WITHIN GROUP(ORDER BY B.SAL )
FROM BONUS B
GROUP BY B.ENAME
select listagg(ename,',')within group(order by sal)name from emp;
select deptno,listagg(ename,',')within group(order by sal)name from emp group by deptno;
select deptno,ename,sal,listagg(ename,',')within group(order by sal)over(partition by deptno)name from emp;
上述代码运行都报““ORA-00923: 未找到要求的FROM关键字” 是怎么回事? 这些表数据库中都有,字段名也没问题