how to find the second highest salary from emp table?
Answer Posted / sankar sasmal
select distinct sal from emp e where 2=(select count(distinct sal)from emp s where e.sal<=s.sal)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why is %isopen always false for an implicit cursor?
What is the difference between delete and truncate commands?
what are all the common sql function? : Sql dba
What are the syntax and use of the coalesce function?
What is the difference between partitioning and sharding?
what is 'mysqlshow'? : Sql dba
What packages are available to pl/sql developers?
What is a .db file?
What are schema-level triggers?
Is microsoft sql free?
What is number function in sql?
What is oracle pl sql developer?
What is sqlite format?
What is the difference between function, procedure and package in pl/sql?
What is difference between sql and excel?