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


Please Help Members By Posting Answers For Below Questions

What is the security model used in sql server 2005?

502


What is federation member?

91


what is an index? : Sql server database administration

516


What is table constraint?

534


How to manipulate data from one table to another table ?

539






How to add code to the existing article (using improve article)?

583


Do you know query execution plan?

580


What is replication with database mirroring? : sql server database administration

524


Explain the working of sql privileges?

599


what are the new features introduced in sql server 2000? : Sql server database administration

541


Explain system rowset functions?

552


What is serializable?

656


Write down the syntax and an example for create, rename and delete index?

524


What is delete query?

512


What are the three different part of rdl file explain them?

168