Database management, Oracle ROWNUM vs ROW_NUMBER() and 12c fetch first 05.05.2014 by Oracle Team By Franck Pachot . Prior to Oracle 12c, there were two ways to do ‘top-n’ queries: use rownum after sorting rows with “order by” use row_number() over (order by) Top-n queries are usually required for result pagination. The application(…)