oracle sql limit 1000 code example Example: oracle limit rows SELECT * FROM sometable ORDER BY name OFFSET 20 ROWS FETCH NEXT 10 ROWS ONLY;