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 is buffer cash in sql server?
What does null mean?
What is difference in performance between insert top (n) into table and using top with insert?
Explain different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan?
What function does a database engine serve in the sql server?
What are the two modes of authentication in sql server?
What command do we use to rename a db, a table and a column?
Which are the new data types introduced in sql server 2008?
How can a database be repaired?
What is SQL Azure?
How to use subqueries with the in operators in ms sql server?
What is user-defined multi-statement table-valued function?
Can you move the resources after pausing the node? : sql server database administration
How to set database to be single_user in ms sql server?
What is a primary key?