This is Important question in Interview for fresher to 2 year Experience guys in C# and SQL server. Hope it helps Select Max(Salary) from [Amatya].[dbo].[EmpSal] where Salary <
(Select Max(Salary) from [Amatya].[dbo].[EmpSal] where Salary <
(Select Max(Salary) from [Amatya].[dbo].[EmpSal]))
Thanks
Amatya