Is there a way to make an Oracle query behave like it contains a MySQL limit clause?
Oracle
MySQL limit
In MySQL, I can do this:
MySQL
In oracle
SELECT val FROM rownum_order_test ORDER BY val DESC FETCH FIRST 5 ROWS ONLY;
10 10 9 9 8
5 rows selected.
SQL>