1 使用rowid实现分页查询(速度最快)
2多行多列子查询加上rownum实现分页查询(速度居中)
select * from (
select a1.*,rownum rn from (
select * from emp
) a1 where rownum<=10
) where rn>=6
3 使用分析函数实现分页查询(速度最慢)
1 使用rowid实现分页查询(速度最快)
2多行多列子查询加上rownum实现分页查询(速度居中)
select * from (
select a1.*,rownum rn from (
select * from emp
) a1 where rownum<=10
) where rn>=6
3 使用分析函数实现分页查询(速度最慢)