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
What is on delete set null?
What are the different types of functions in sql?
What is bulk compiling in pl/sql.?
What is vector point function?
What are the steps for performance tuning.
What is sequence in sql?
what is an index? : Sql dba
What is procedure and function in sql?
What are some predefined exceptions in pl/sql?
write an sql query to find names of employee start with 'a'? : Sql dba
What is procedure explain with example?
What is coalesce in sql?
What is difference between procedure and trigger?
what is a unique key ? : Sql dba
What is the difference between count 1 and count (*) in a sql query?