How to read 2nd highest sal from EMP table?
Answer Posted / sheshu4040
SELECT MAX(EMP_SALARY) FROM EMP
WHERE EMP_SALARY NOT IN (SELECT MAX(EMP_SALARY) FROM EMP)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the differences between ms sql server & oracle?
explain different types of joins? : Sql server database administration
Explain what is use of dbcc commands?
What is molap and its advantage? : sql server analysis services, ssas
How to update a field in SQL after ALTERING a row?
What is save transaction and save point?
What are the new features in SQL Server 2005 when compared to SQL Server 2000?
What are the export options of ssrs?
What is dbcc?
what is an index? : Sql server database administration
What is dirty page?
How do I port a number to sql server?
Does the order of columns in update statements matter?
What is nonclustered index on computed columns?
Explain external key management in sql server 2008