find out the third highest salary?
Answer Posted / vishawjeet saini
SELECT MIN(sal) FROM emp WHERE
sal IN (select sal from emp order by sal desc limit 3)
Its works on almost databases including postgres.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
1) Does oracle have any table which contain all the exceptions and it's code internally?
What is the use of oracle?
What is the difference between a primary key & a unique key?
How do I reset a sequence in oracle?
How to use "while" statements in oracle?
What is procedure overloading in oracle?
Explain the difference between sql and oracle?
What is the purpose of tables, private synonyms and public synonyms in Oracle?
What is a trigger oracle?
What are the advantages of oracle?
What does sharding mean?
ABOUT IDENTITY?
How to view existing locks on the database?
How do I escape a reserved word in oracle?
What is object data modeling?