2020-04-09
阅读量:
419
我加了排序后语法错误了

该语法不符合sql语句的书写规范,正确写法为:
select *,avg(sal) over (partition by deptno ) avg_sal from emp order by avg_sal desc;






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论