sql分页

select h.id
  from (select t.id, rownum as rn
          from ysp_application t
         where t.yxbz = 'Y'
         order by t.sqsj asc) h
 where h.rn between 1 and 100
 order by h.rn asc;
原文地址:https://www.cnblogs.com/time-on/p/6899489.html