how to retrieve the top 3 salaries of the table using rownum
Answer Posted / debanjan rudra
select sal from (select sal from emp order by val desc)
where rownum < 4;
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what is data control language? : Sql dba
what are sequences
What do you mean by rowid?
What is inner join in sql?
What does over partition by mean in sql?
What is mutating error?
What does select top 1 do in sql?
What are literals in sql server?
What is the difference between rollback and rollback to statements?
Is sqlite thread safe?
What is the use of %rowtype?
Can we use pl sql in sql server?
what are the limitations of identity column? : Transact sql
how to present a past time in hours, minutes and seconds? : Sql dba
is it possible to pass an object or table to a procedure as an argument?