时间:2021-07-01 10:21:17 帮助过:5人阅读
select *from student where id not in
(select id from student where rownum <=5)
and rownum <=15 order by id
select *from student where rownum <=10 minus
select *from student where rownum <=5
两行都可实现oracle的分页 但最为可靠的还是第一种,student为创建的表名,代码很简单输出的是从ID=6(ID 是表里的主键)的位置开始输出输出,总共输出15个数
关于oracle的分页问题
标签: