题解 | #获取每个部门中当前员工薪水最高的相关信息#
查找employees表emp_no与last_name的员工信息
http://www.nowcoder.com/practice/a32669eb1d1740e785f105fa22741d5c
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