how to retrieve the top 3 salaries of the table using rownum
Answer Posted / chandrasekar.ramasamy
select sal from( select rownum,e.* from empmaster e order
by sal desc) where rownum < 4
| Is This Answer Correct ? | 20 Yes | 7 No |
Post New Answer View All Answers
What is the use of function in sql?
how do you tune the slow running queries in oracle db , explain the methodology
how can you create an empty table from an existing table? : Sql dba
How to fetch values from testtable1 that are not in testtable2 without using not keyword?
What is trigger and types?
What is percent sign in sql?
What are sql injection vulnerabilities?
When should I use nosql database?
What is the difference between alter trigger and drop trigger statements?
Enlist the data types that can be used in pl/sql?
What is full join in sql?
Is sql sequential or random?
Name the different types of indexes in sql and define them.
What are triggers and its uses?
What is the use of %rowtype?