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
Which one is better sql or oracle?
What is difference between sql and mysql?
What is sql profiler in oracle?
What is rank function in sql?
What programs use sql?
What is the max nvarchar size?
What is the starting oracle error number? What is meant by forward declaration in functions?
What is the difference between unique and primary key constraints?
What is exit statement?
What is a ddl command?
Is time a data type in sql?
what is a composite primary key ? : Sql dba
What are sql ddl commands?
Is it possible to update views?
What is a rank in sql?