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
Explain alternate key, candidate key and composite key in sql server?
What is the function of inner join?
Does a full backup include transaction log?
Differentiate between mongodb vs. Sql server?
List the ways in which dynamic sql can be executed?
Can sql servers linked to other servers?
what's the information that can be stored inside a bit column? : Sql server database administration
How adventureworkslt tables are related?
how you can list all the tables in a database?
What does top operator do?
Explain multiserver query
Name few of the dcl commands in sql?
What is dbcc command in sql server?
What is the purpose of indexing?
What is dbcc updateusage?