Find out the 3rd highest salary?
Answer Posted / satya
Hi,
Select sal from emp e where 3>=(select count (Sal)
from emp where sal>e.sal) order by sal desc;
Regards,
Satya.k
| Is This Answer Correct ? | 23 Yes | 35 No |
Post New Answer View All Answers
How does postgresql compare to mysql?
What is pivot in sql?
How do sql triggers work?
What are two statement types in sql?
Can primary key be changed?
How do I view tables in sql developer?
What is union?
How to sort the rows in sql.
What is the difference between join and natural join?
What does the file extension accdb stand for?
Explain polymorphism in pl/sql.
What does trigger mean in slang?
Can we insert in view in sql?
how to use in conditions? : Sql dba
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