how to retrieve the top 3 salaries of the table using rownum
Answer Posted / seema
select sal from (select distinct sal from emp order by sal
desc ) where rownum < 3;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is trigger price?
What is the difference between a subquery and a join?
What is rank function in sql?
How do I run a sql trace?
How many commands are in sql?
How much does sql certification cost?
What is the difference between python and sql?
How can a pl sql block be executed?
How do you know if a relationship is 2nf?
Can a table contain multiple foreign key’s?
Is null operator in sql?
What is file based approach?
Does truncate need commit?
Why do we need sharding?
Is join and inner join the same?