如題
select rn,num from (select rownum as rn ,num from (select * from test order by num)) where rn>=2 and rn<=5;
Oracle當從rownum的第二行起時候將無法查找到如何數據,只有通過別名。
如題
select rn,num from (select rownum as rn ,num from (select * from test order by num)) where rn>=2 and rn<=5;
Oracle當從rownum的第二行起時候將無法查找到如何數據,只有通過別名。