Try the following query.
The
salary
is the column which contains the employees salary and the
tbPay
is the name of the table which has the records of the employees.
SELECT MAX(salary) FROM tbPay WHERE salary NOT IN (SELECT MAX(salary) FROM tbPay)
Does this help?