min and max salary and name in sql

Solutions on MaxInterview for min and max salary and name in sql by the best coders in the world

showing results for - "min and max salary and name in sql"
Noan
03 Sep 2016
1SELECT FIRST_NAME , SALARY
2FROM EMPLOYEES
3WHERE SALARY IN (SELECT MAX(SALARY)AS RESULT FROM EMPLOYEES
4UNION
5SELECT MIN(SALARY)AS RESULT FROM EMPLOYEES);