前端之家收集整理的这篇文章主要介绍了
【oracle】之分页浅尝,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
select * from (select a1.*,rownum rn from (select * from users) a1 where rownum <=5) where rn>=3;
select a1.* from (select m.*,rownum rn from users m where rownum <=5) a1 where rn >= 3;
select a1.* from (select m.*,rownum rn from users m) a1 where rn between 3 and 5;
原文链接:https://www.f2er.com/oracle/209603.html