salary greater than maximum salary of any department code example
Example 1: get all employee of salary if more than in sql
SELECT * FROM EMPLOYEES
WHERE SALARY > 10000;
Example 2: FIND ABOVE AVERAGE SALARY EARNER IN SQL
SELECT FIRST_NAME, LAST_NAME
FROM EMPLOYEES
WHERE SALARY > (SELECT AVG(SALARY) FROM EMPLOYEES);