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
What is the difference between sql and isql*plus?
Explain foreign key in sql?
How to use sql*plus built-in timers?
What is a left join?
explain the difference between myisam static and myisam dynamic. : Sql dba
How do I run a pl sql program?
What is out parameter used for eventhough return statement can also be used in pl/sql?
What are sql constraints?
how do you know if your mysql server is alive? : Sql dba
Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?
What is scope and visibility in PL/SQL?
What are pl/sql cursor exceptions?
Why functions are used in sql?
What are the limitations of sql express?
What is pivot in sql?