关于子查询
select r,e1.*
from (select rownum r,e1.*
from (select empno,ename,sal from emp order by sal desc ) e1
where rownum<=8) e2
where r >4
这样不行?
select r,e2.*
from (select rownum r,e1.*
from (select empno,ename,sal from emp order by sal desc ) e1
where rownum<=8) e2
where r >4
这样就可以了??