adspace
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 are aggregate and scalar functions? : Sql dba
how to start mysql server? : Sql dba
Does group by remove duplicates?
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
Is inner join faster than left join?
what is dbms? : Sql dba
What is your daily office routine?
how to use regular expression in pattern match conditions? : Sql dba
Can we rollback truncate?
What is the best sql course?
what is collation? : Sql dba
Is primary key always clustered index?
how many tables will create when we create table, what are they? : Sql dba
Can we use distinct and group by together?
what are all the common sql function? : Sql dba