Answers for "oracle sql fetch first 1 row only gives error"

SQL
4

fetch first 10 rows in oracle sql developer

SELECT * FROM (SELECT [COLUMNS] FROM [TABLE] ORDER BY [DATE] DESC)
    WHERE ROWNUM >= 1 AND ROWNUM <=10;
-- Oracle 12c:
SELECT * FROM (SELECT [COLUMNS] FROM [TABLE] ORDER BY [DATE] DESC) 
    FETCH FIRST 10 ROWS ONLY;
Posted by: Guest on April-08-2021

Code answers related to "oracle sql fetch first 1 row only gives error"

Code answers related to "SQL"

Browse Popular Code Answers by Language