rownum重命名问题
为啥
select rownum,empno,ename,sal
from (select rownum,empno,ename,sal
from (select empno,ename,sal from emp order by sal desc ) e1
where rownum<=8) e2
where rownum >4
这样写不行,我把rownum重命名后就可以了??
为啥
select rownum,empno,ename,sal
from (select rownum,empno,ename,sal
from (select empno,ename,sal from emp order by sal desc ) e1
where rownum<=8) e2
where rownum >4
这样写不行,我把rownum重命名后就可以了??
2018-08-29
举报