find out the second highest salary?
Answer Posted / ananth
this is for 2nd highest sal in sql server database
select * from emp where sal=(select max(sal) from emp where
sal<(select max(sal) from emp))
Is This Answer Correct ? | 119 Yes | 13 No |
Post New Answer View All Answers
How many types of synonyms in Oracle?
What is an oracle transaction?
How many types of tables are there in oracle?
Explain do view contain data?
how may join possible between (requisition with purchase order)
Explain drop constraint oracle?
How to resolve name conflicts between variables and columns?
What are the attributes of cursor?
What is the difference between translate and replace in oracle?
How can you use check constraints for self referential integrity?
How to change system global area (sga) in oracle?
Explain integrity constraint?
What is using clause and give example?
What is MTTR advisor in Oracle?
What is the usage of analyze command in oracle?