Answers for "find 3rd max salary in sql using limit"

SQL
1

second max salary in sql

SELECT MAX(SALARY) 'SECOND_MAX' FROM EMPLOYEES
WHERE SALARY <> (SELECT MAX(SALARY) FROM EMPLOYEES);
Posted by: Guest on November-27-2020
0

first max salary in sql

SELECT first-name
FROM employees
WHERE salary = (SELECT MAX(salary) FROM employees);
Posted by: Guest on January-28-2021

Code answers related to "find 3rd max salary in sql using limit"

Code answers related to "SQL"

Browse Popular Code Answers by Language