题解 | #查找入职员工时间排名倒数第三的员工所有信息#
获取员工其当前的薪水比其manager当前薪水还高的相关信息
http://www.nowcoder.com/practice/f858d74a030e48da8e0f69e21be63bef
select e.emp_no,m.emp_no,e.salary,m.salary from (select dept_emp.emp_no,dept_emp.dept_no,salaries.salary from dept_emp left join salaries on dept_emp.emp_no=salaries.emp_no) e, (select dept_manager.emp_no,dept_manager.dept_no,salaries.salary from dept_manager left join salaries on dept_manager.emp_no=salaries.emp_no) m where e.dept_no= m.dept_no and e.salary>m.salary