Answers for "Write a query to find out minimum Salary in each department"

SQL
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
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

Code answers related to "Write a query to find out minimum Salary in each department"

Code answers related to "SQL"

Browse Popular Code Answers by Language