select e.emp_no, d.emp_no as manager_no, s1.salary as emp_salary,s2.salary as manager_salary from dept_emp e inner join dept_manager d on e.dept_no = d.dept_no inner join salaries s1 on e.emp_no = s1.emp_no inner join salaries s2 on d.emp_no = s2.emp_no where s1.salary > s2.salary; 用内链接 将多表相联,注意使...