how to retrieve the top 3 salaries of the table using rownum
Answer Posted / ashwinee
select empnumber
from emp
where rownmum < 4 and salary in (select salary
from emp
order by salary desc)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Is there any restriction on the use of union in embedded sql?
Is sql microsoft?
What is triggering circuit?
how to rename an existing table in mysql? : Sql dba
How many triggers can be applied to a table?
What is bind variable in pl sql?
what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba
what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba
what is the functionality of the function htmlentities? : Sql dba
Why use triggers in sql?
What is the difference between a subquery and a join?
What is the maximum rows in csv?
what is the use of friend function? : Sql dba
What is a sql trace file?
Which is better stored procedure or query?