how to retrieve the top 3 salaries of the table using rownum
Answer Posted / saisravanthi
select salary from
(select salary,rownum from salary_tab
order by salary_tab desc)
where rownum < 4;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we join more than 2 tables in sql?
Is sql between inclusive?
What is the difference between rename and alias?
Why are cursors used?
Enlist some predefined exceptions?
How to rename a column in the output of sql query?
Can you inner join the same table?
What is the difference between pl and sql?
Can a procedure in a package be overloaded?
Why use stored procedures?
Is truncate ddl or dml?
What are crud methods?
What does count (*) mean in sql?
How many types of triggers exist in pl/sql?
Is big data nosql?