oracle 高效分页

经过多次测试如下方法比较NB:

             select * from (select A.*,Rownum RN from (select * from 表名 where 1 = 1  order by 排序字段 desc ) A where rownum <=   结束页数 ) where RN >=  开始页数

 

新人上路,各路大神请多多指教

posted on 2016-03-15 11:44  叶远明  阅读(347)  评论(0编辑  收藏  举报

导航