select d.emp_no, t.emp_no, s.salary, t.salary from dept_emp as d join salaries as s on d.emp_no = s.emp_no join ( select dept_no, dd.emp_no, salary from dept_manager as dd join salaries as s on dd.emp_no = s.emp_no ) as t on d.dept_no =...