Hi , I am trying to select the first 200 rows from a table with the primary key in sequential order.
Example
Select primary_key#
from table_name
where rownum <=200
order by 1
However, I have realised that rownum is dealt with first by oracle and then the order by clause distorts the result...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.