heiheihei select d.dept_no,d.emp_no,s.salary from dept_emp d join salaries s on d.emp_no = s.emp_no join (select d.dept_no,max(s.salary) as "maxSalary" from dept_emp d join salaries s on&n...