select e1.* from (select * from emp order by hiredate) e1 where rownum <=10 可以出结果; select e1.* from (select * from emp order by hiredate) e1 where rownum >=3; 除了1以外,都显示未选定行 为什么???
米脂
浏览 333回答 2
2回答
阿晨1998
试试这样select e1.*,case when rownum>=3 then '未选定' else '选定' end selfrom (select * from emp order by hiredate) e1 where rownum <=10