题解 | #查找所有员工的last_name
查找所有员工的last_name和first_name以及对应的dept_name
https://www.nowcoder.com/practice/5a7975fabe1146329cee4f670c27ad55
select e.last_name, e.first_name, d.dept_name from employees e left join dept_emp p on e.emp_no = p.emp_no left join departments d on d.dept_no = p.dept_no #where to_date = '9999-01-01'