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 postgresql a server?
What is oracle and pl sql?
How do I partition a table in sql?
What is the difference between sql and isql*plus?
Is left join faster than inner join?
Can function return multiple values in sql?
How do you delete a table?
How to revise and re-run the last sql command?
What are the different types of triggers?
Is coalesce faster than isnull?
How to know the last executed procedure?
What is minus?
Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?
Why is pl sql used?
What is sql deadlock?