oracle分页

来源:互联网 发布:sql语句先升序再降序 编辑:程序博客网 时间:2024/06/06 01:34

 select *
   from (select A.*, rownum RN
           from (需要查询结果的复杂sql 语句) A
          where rownum <= 结束记录)
  where RN >= 开始记录