how to retrieve the top 3 salaries of the table using rownum
Answer Posted / akki julak
select sal from (select rownum,sal from emp order by sal
desc)
where rownum<4;
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are reports usually used for?
List the ways to get the count of records in a table?
What is data type in database?
Explain the the update statement in sql?
How many joins in sql?
What is the location of pre_defined_functions.
Can %notfound return null after a fetch?
how to install mysql? : Sql dba
How to select the Nth maximum salary from Table Emp in Oracle SQL Plus ?
What is the difference between having and a where in sql?
Explain the working of primary key?
How do you create an update query?
What is the file extension for sql database?
Does sql profiler affect performance?
Where not exists in sql?