Good morning, I need assistance with generating a top 10 list. below is the created query however i'm unsure how to correctly implement the ROWNUM function.
SELECT * FROM
( SELECT CON_NAME, HIGHEST_QUAL FROM temp2 ORDER BY HIGHEST_QUAL DESC )
WHERE ROWNUM = 10;
As when the query is run no data is produced however when i omit the ROWNUM all the rows are produced showing the data is there. Also when the ROWNUM is set to 1 only one row is produced.
Thanks in advance!