Friday, 19 March 2010

3rd highest salary

--3rd Highest Salary

Select min(Emp_Sal) from Employee_Test where Emp_Sal in(select distinct top 3 Emp_Sal from Employee_Test order by Emp_Sal desc)