Search code examples
oracle-databaselimit

How to limit the number of records returned by an ORACLE query?


How to limit the number of records returned by an ORACLE query?

and

which way do you think is the best?


Solution

  • Add "where rownum <= # of entries" at the end of your query.