How to find only %th Highest Sal
Answer Posted / ajit
select e.*, rn
from ( select empno, ename, sal, deptno, dense_rank() over ( order by sal desc ) rn
from emp) e
where rn = & rn;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to add, remove, modify users using sql?
What are the set operators in sql?
Does sql*plus have a pl/sql engine?
what is 'mysqlcheck'? : Sql dba
what is sp_pkeys? : Transact sql
What does varchar include?
What version is sql?
What is foreign key in sql with example?
what is bcp? When does it used? : Sql dba
How to select random rows from a table?
What is scalar function in sql?
How is indexing done in search engines?
What is the difference between the implicit and explicit cursors?
What is an example of translating a date into julian format?
Which is faster truncate or drop?