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 is the difference between drop and truncate commands?
Lookups are a key component in sql server integration services (ssis). Explain its purpose?
Is not null in sql?
What is sql dialect?
What is the difference between left outer join and left join?
What is the plv (pl/vision) package offers?
How do you declare a variable in pl sql?
describe mysql connection using mysql binary. : Sql dba
What are the types of keys?
Define commit?
Explain correlated query work?
What is primary key in db?
What are the types of sql commands?
How would you reference column values before and after you have inserted and deleted triggers?
Why are aggregate functions called so?