how to find the second highest salary from emp table?
Answer Posted / dakshin
select * from (select a.*,dense_rank() over (order by sal) rnk from emp a order by sal) where rnk =2
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why we use join in sql?
what is commit? : Sql dba
What are synonyms in sql?
What is range partitioning?
What is pl/sql table? Why is it used?
How would you convert date into julian date format?
What is difference between stored function and application function?
What is trigger price?
What is procedure function?
what is collation? : Sql dba
Why schema is used in sql?
How can a function retun more than one value in oracle with proper example?
What is a primary key? Explain
How do I find duplicates in the same column?
What is scope of pl sql developer in future?