1.直接用where来筛选两个表

select s.emp_no, s.salary, s.from_date, s.to_date, dm.dept_no 
from salaries as s, dept_manager as dm
where s.emp_no=dm.emp_no

2.用inner join

select s.emp_no, s.salary, s.from_date, s.to_date, dm.dept_no 
from salaries as s inner join dept_manager as dm
on s.emp_no=dm.emp_no

听说在一些复杂的情况这两种效率不一样,有没有大神讲解一下