rownum 用法,急!!
为什么的查询中不能使用 rownum>10 这样的条件?如:
select * from table_aa where rownum>10 and rownum<20;
这时数据库中有500多记录呢,可就是报“没有选定行”,但是我在使用
select * from table_aa where rownum>=1 and rownum<20; 以及
select * from table_aa where rownum>0 and rownum<20;
就可以正常返回。
我使用的环境是window2000 AD + oracle9.1.0.2.0