how to retrieve the top 3 salaries of the table using rownum
Answer Posted / moorthy(information dynamic)
select sal,rank()over (order by sal desc) from emp where
rownum < = 3;
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain the commit statement.
Explain spool.
What is primary key sql?
what are the system privileges that are required by a schema owner (user) to create a trigger on a table?
What is the cause of mutating table error and how can we solve it?
What is the importance of sqlcode and sqlerrm?
Does sql view stored data?
what is commit? : Sql dba
What are different sql data types?
Is not null in sql?
what are enums used for in mysql? : Sql dba
what is a field in a database ? : Sql dba
What is the use of index in hive?
What are hotfixes and patches?
How bulk collect improves performance?