Answers for "how to 3rd maximum salary in sql query"

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 "how to 3rd maximum salary in sql query"

Code answers related to "SQL"

Browse Popular Code Answers by Language