多表关联查询
细心一点你就会发现其中的规律
– 左外连接
select * from table1
left join table2 on 关联条件
left join ... on ...
– 右外连接
select * from table1
right join table2 on 关联条件
right join ... on ...
– 显示内连接
select * from table1
inner join table2 on 关联条件
inner join ... on ...
– 隐式内连接
select * from table1,
table2,
...
where 关联条件1
and 关联条件2 ...