比如有这么一个表
我想查出第3-6的数据
select * from(select t.*,rownum PR from emp t)where PR between 3 and 6;
也可以这样
select * from(select t.*,rownum PR from emp t)where PR>2 and PR<=6;
比如有这么一个表
我想查出第3-6的数据
select * from(select t.*,rownum PR from emp t)where PR between 3 and 6;
也可以这样
select * from(select t.*,rownum PR from emp t)where PR>2 and PR<=6;