题解 | #获取所有员工当前的manager#
获取所有员工当前的manager
http://www.nowcoder.com/practice/e50d92b8673a440ebdf3a517b5b37d62
搞不明白你们的9999-1怎么想的没必要
select d.emp_no ,m.emp_no as manager
from dept_emp d
inner join dept_manager m
on d.dept_no = m.dept_no
where d.emp_no <>m.emp_no
group by d.emp_no