Hi this code gives me employee salaries and manager salaries.
SELECT E.EMP_FNAME AS MANAGER, E.EMP_SALARY, D.DEPT_NO, A.EMP_FNAME AS EMPLOYEE, A.EMP_SALARY
FROM EMPLOYEE E, EMPLOYEE A, DEPARTMENT D
WHERE E.EMP_NIN = A.EMP_MANAGER
AND A.EMP_MANAGER = D.EMP_MANAGER;
How can i only show the employees that have a salary within 10% of their manager salary?