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
What sql database should I use?
What does joining a thread mean?
how would concatenate strings in mysql? : Sql dba
Explain spool.
What are joins in sql?
Is keyword pl sql?
What is meant by truncate in sql?
What is cursor explain with example?
When can we use the where clause and the having clause?
Is primary key always clustered index?
Does truncate need commit?
How do you drop a trigger?
What are the parts of a sql statement?
What are sql injection vulnerabilities?
What are records give examples?