how to retrieve the top 3 salaries of the table using rownum
Answer Posted / manoj tcs
select * from (select * from emp order by sal desc)
where rownum < 4;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I partition a table in sql?
Why do we need view in sql?
Can pl sql procedure have a return statement?
Explain the purpose of %type and %rowtype data types?
How do sql databases work?
What are tuples in sql?
What is pl/sql table? Why is it used?
Explain what is a view?
How do I enable sql encryption?
what are the authentication modes in sql server? : Sql dba
what is the command line end user interface - mysql? : Sql dba
What are different categories of sql commands?
What is audit logout in sql profiler?
What do you understand by pl/sql records?
What is the purpose of a sql?