how to check the 3rd max salary from an employee table?
Answer Posted / somanath
select sal from emp a where 3=(select
count(distinct(sal)) from emp b
where a.sal<=b.sal)
| Is This Answer Correct ? | 34 Yes | 7 No |
Post New Answer View All Answers
What is rollback?
What are all different types of collation sensitivity?
How you improve the performance of sql*loader? : aql loader
Can I copy :old and :new pseudo-records in/to an oracle stored procedure?
What is t-sql? : Transact sql
Can a composite key be null?
how to escape special characters in sql statements? : Sql dba
How do you declare a variable in pl sql?
What does count (*) mean?
What does trigger mean in psychology?
Is nosql faster than sql?
Explain the uses of control file.
What are the differences between implicit and explicit cursors?
How to Execute a Package in PL/SQL.?
What is parallel hint?