Несколько хитрых запросов в SQL Server
select MAX(Salary) from Employee WHERE Salary NOT IN (select MAX(Salary) from Employee );
Fine Frog
select MAX(Salary) from Employee WHERE Salary NOT IN (select MAX(Salary) from Employee );