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 sum and count in sql?
What are all ddl commands?
How do you concatenate in sql?
What is offset in sql query?
Is sql scripting language?
Why should I use postgresql?
Is sqlite thread safe?
How do you clear the screen in sql?
Why procedure is used in sql?
what are date and time functions in mysql? : Sql dba
Is merge a dml statement?
Define implicit and explicit cursors.
Why commit is not used in triggers?
What's the difference between a primary key and a clustered index?
How do you determine the current isolation level? : Transact sql