how to retrieve the top 3 salaries of the table using rownum
Answer Posted / muneer ahamed
select rownum as rank,sal from (select rownum,sal from emp
order by sal desc)
where rownum<4
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
What is the use of & in pl sql?
What are different joins used in sql?
what is the difference between delete and truncate commands? : Sql dba
What is a recursive stored procedure?
How to run sql commands in sql*plus?
Is primary key a clustered index?
What does pragma mean?
What is anonymous block in sql?
Explain the savepoint statement.
define sql delete statement ? : Sql dba
What is sp_helptext?
Which function is used to return remainder in a division operator in sql?
Write a sql query to find the names of employees that begin with ‘a’?
What are the two types of cursors in pl sql?
What is difference between pl and sql?