Answers for "how to find max salary and equivalent name in sql"

SQL
0

min and max salary and name in sql

SELECT FIRST_NAME , SALARY
FROM EMPLOYEES
WHERE SALARY IN (SELECT MAX(SALARY)AS RESULT FROM EMPLOYEES
UNION
SELECT MIN(SALARY)AS RESULT FROM EMPLOYEES);
Posted by: Guest on November-27-2020
-1

max 3 salary in sql

SELECT salary, first_name, last_name FROM employees
ORDER BY salary DESC LIMIT 3;
Posted by: Guest on January-28-2021

Code answers related to "how to find max salary and equivalent name in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language