fetch first 10 rows in oracle sql developer

Solutions on MaxInterview for fetch first 10 rows in oracle sql developer by the best coders in the world

showing results for - "fetch first 10 rows in oracle sql developer"
Emily
05 Feb 2016
1SELECT * FROM (SELECT [COLUMNS] FROM [TABLE] ORDER BY [DATE] DESC)
2    WHERE ROWNUM >= 1 AND ROWNUM <=10;
3-- Oracle 12c:
4SELECT * FROM (SELECT [COLUMNS] FROM [TABLE] ORDER BY [DATE] DESC) 
5    FETCH FIRST 10 ROWS ONLY;