Oracle分页语句

来源:互联网 发布:1099 端口 linux 编辑:程序博客网 时间:2024/04/28 23:00

select * from  (select a1.*,rownum rn from (select * from 表) 表别名 where rownum <上限) where rn>= 下线

 

select * from employe  where employeid in (select employeid from (select employeid,rownum rn from (select employeid from employe) where rownum <= 4) where rn >=2)