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