Answers for "maximum salary in sql"

SQL
1

how to find max and min salary in sql

SELECT MAX(salary), MIN(salary) FROM employees;
Posted by: Guest on May-09-2021
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

how to find max and min salary in sql

SELECT MAX(SALARY) FROM EMPLOYEES
UNION
SELECT MIN(SALARY) FROM EMPLOYEES;
Posted by: Guest on November-27-2020

Code answers related to "maximum salary in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language