how to retrieve the top 3 salaries of the table using rownum
Answer Posted / akki julak
select sal from (select rownum,sal from emp order by sal
desc)
where rownum<4;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Differentiate pl/sql and sql?
Can we call a function containing dml statements in a select query?
what is a database lock ? : Sql dba
how to return query output in html format? : Sql dba
Where not exists in sql?
How bulk collect improves performance?
How many types of triggers are there in pl sql?
Can you call pl/sql package functions from within a fast formula?
How does sql profiler work?
What steps server process has to take to execute an update statement?
What is integrity in sql?
Which data dictionary views have the information on the triggers that are available in the database?
what are the types of subquery? : Sql dba
Sql technical questions
What is a sql profiler?