Display all the details of the employee whose salary is more than the Sal of any IT PROFF.. code example
Example 1: above average salary in sql
SELECT FIRST_NAME FROM EMPLOYEES
WHERE SALARY > (SELECT AVG(SALARY) FROM EMPLOYEES);
Example 2: find below average salary in sql
SELECT first_name, salary FROM employees
WHERE salary <= (SELECT AVG(salary) FROM employees);