please tell me the query to get details of the employee
having the second largest salary
Answer Posted / devendra dwivedi
Select * from EmpTbl Where Salary = (Select Max(Salary) from
EmpTbl Where Salary < (Select Max(Salary) from EmpTbl)
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How to create user defined functions with parameters?
Where is trigger in sql server?
How many types of database relationship in sql server?
What are the operating modes in which database mirroring runs?
How to verify a user name with sqlcmd tool?
How to write a query with an inner join in ms sql server?
Is there any difference between the primary key and unique key?
How can we migrate from SQL server to SQL Azure?
Explain primary key, foreign key and unique key?
What are the limitations in ssrs on sql server express edition?
Any one plz send me SQL Server Developer/DBA resume for 4 years experience
What is collation sensitivity? Explain different types.
Write an sql query to sort a table according to the amounts in a row and find the second largest amount.
What does the on delete cascade option do?
Where are sql server user names and passwords stored in sql server?