老师这样不是也可以么?
select rownum, r,empno,ename,sal
from(select rownum r,empno,ename,sal from emp where rownum <=8 order by sal desc )e1
where r>=5;
select rownum, r,empno,ename,sal
from(select rownum r,empno,ename,sal from emp where rownum <=8 order by sal desc )e1
where r>=5;
2015-08-24
举报