Hãy thử điều này: SELECT max(salary) FROM emptable WHERE salary < (SELECT max(salary) FROM emptable);