how to retrieve the top 3 salaries of the table using rownum
Answer Posted / ashwinee
select empnumber
from emp
where rownmum < 4 and salary in (select salary
from emp
order by salary desc)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is pl/sql table? Why is it used?
What are transaction and its controls?
Can a foreign key have a different name?
What is scalar data type in pl sql?
Can you join views in sql?
What are procedures used for?
what is the difference between delete and truncate commands? : Sql dba
How to run sql commands in sql*plus?
Write a query to display the current date in sql?
What are the 3 types of behavioral triggers?
what are the advantages of sql ? : Sql dba
Why we use join in sql?
Is postgresql a nosql database?
what is sub-query? : Transact sql
What is left join in postgresql?