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
Can we also use
select e2.max(sal), e2.name from emp e2 where (e2.sal <(Select max (Salary) from empo el)) group by e2.name
Please let me know what is wrong with this approach