It\'s a question I got this afternoon:
There a table contains ID, Name, and Salary of Employees, get names of the second-highest salary employees, in SQL Server
If you want to display the name of the employee who is getting the second highest salary then use this:
SELECT employee_name FROM employee WHERE salary = (SELECT max(salary) FROM employee WHERE salary < (SELECT max(salary) FROM employee);