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 materialized view. What are different methods of refresh?
What does the acronym acid stand for in database management?
Is primary key is clustered index?
What is the difference between nested table and varray?
What does dml mean?
What is meaning of <> in sql?
What is prepared statement in sql?
What are the different types of dbmss?
What are the various levels of constraints?
Is pl sql better than sql?
Why do we need a foreign key?
What is view? Can we update view
What is sqlerrm?
Where is sql database stored?
What information is needed to connect sql*plus an oracle server?