How to get employee name from employee table which is the
fiveth highest salary of the table
Answer Posted / kavitha nedigunta
select a.ename,a.sal
from(select ename,sal,
dense_rank() over( order by sal desc nulls last) rk
from emp)a
where rk =5;
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Does inner join remove duplicates?
What does the argument [or replace] do?
How do I save a stored procedure?
What is the use of <> sql?
What are the commands used in sql?
what is a table in a database ? : Sql dba
What is the reports view in oracle sql developer?
What is difference between my sql and sql?
explain the difference between bool, tinyint and bit. : Sql dba
Why stored procedure is better than query?
How do you truncate?
what is 'trigger' in sql? : Sql dba
What is the difference between view and stored procedure?
What is rank function in sql?
What is rank () in sql?