To find second largest salary in Employee table
Answer Posted / saravanakumar
SELECT MAX(SALARY) FROM EMPLOYEE WHERE SALARY NOT IN
(SELECT MAX(SALARY) FROM EMPLOYEE)
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
Explain the usage of floor function in sql server.
Explain indexing and what are the advantages of it?
What is the purpose of update statistics and scope_identity() function?
How to get the definition of a stored procedure back?
what does the automatic recovery do? : Sql server administration
How do you improve the performance of a SQL Azure Database?
How to execute a sql statement using odbc_exec()?
What is ddl command?
what is raid and what are different types of raid configurations? : Sql server database administration
What is sql server database?
What is exclusive locks?
Why do we use functions?
Explain the benefits of user-defined functions?
in the physical file layout, where should the transaction log be stored in relation to the data file?
What are the advantages of passing name-value pairs as parameters?