how to retrieve the top 3 salaries of the table using rownum
Answer Posted / vivek dubey
select salary_column from salary_table
where rownum<4
order by salary_column desc
| Is This Answer Correct ? | 24 Yes | 42 No |
Post New Answer View All Answers
The in operator may be used if you know the exact value you want to return for at least one of the columns.
How do you remove duplicates without using distinct in sql?
Explain how exception handling is done in advance pl/sql?
Is sqlexception checked or unchecked?
What is sql used for?
what is dbms? : Sql dba
what does it mean to have quoted_identifier on? : Sql dba
What is spool?
What are the types of variables use in pl sql?
What is offset in sql query?
What steps server process has to take to execute an update statement?
How do I run sql profiler?
How many joins in sql?
Can variables be used in sql statements?
What are the uses of sysdate and user keywords?