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;

 

posted on 2017-05-24 16:11  time_on  阅读(224)  评论(0编辑  收藏  举报