分页sql语句模板 select * from (select t1.*,rownum rn from (select * from emp) t1 where rownum <= 10) where rn >= 5;