利用ROWNUM实现分页 要实现查找6-10条记录,可以通过先查询前10条,再显示后5条的方式 第一种写法 select *from( select rownum rn,e.*//为方便书写将rownum起别名为rn,将emp起别名为e from emp e where rownum<=10) temp where temp.rn>5; 第二种写法 select *from( select rownum rn,e.* from emp e) temp where temp.rn>5 and temp.rn<=10