select dept_emp.dept_no,dept_emp.emp_no, max(salaries.salary)maxSalary from dept_emp left join salaries on dept_emp.emp_no=salaries.emp_no group by dept_emp.dept_no order by dept_emp.dept_no ASC