注意顺序就好

SELECT salaries.*,dept_manager.dept_no
FROM salaries,dept_manager
WHERE salaries.emp_no = dept_manager.emp_no