how to retrieve the top 3 salaries of the table using rownum
Answer Posted / dhiman sarkar
select empname,sal from (select empname,sal from dh1 order
by sal desc)
where rownum < =4
order by sal desc
| Is This Answer Correct ? | 17 Yes | 7 No |
Post New Answer View All Answers
Is pl sql useful?
Is sql dba a good career? : SQL DBA
what are the authentication modes in sql server? : Sql dba
differentiate between float and double. : Sql dba
what are the limitations of identity column? : Transact sql
What is latest version of sql?
Explain aggregate functions are available there in sql?
What is data definition language?
Which kind of parameters cannot have a default value in pl sql?
What is replication id?
Is record in pl sql?
Can triggers stop a dml statement from executing on a table?
Can we insert data into materialized view?
How many sql commands are there?
How do I edit a stored procedure?