ORACLE 下 SQL 分页

ORACLE 下 SQL 分页

方法一:
select * from (select ROWNUM as rn, Src.* from tab Src) DataSet Where rn> 10 and rn< 20

方法二:
select * from (select ROWNUM as rn, Src.* from tab where rownum <= 150) where rn >= 100;

你可能感兴趣的:(ORACLE 下 SQL 分页)