各种join一目了然: join 、inner join、left join 、right join、full join

各种join一幅图一目了然
一下每幅图都是指: A * join B on A.id = B.in
这里写图片描写叙述
这个帖子也非常形象。比較好:http://www.phpddt.com/db/inner_join-outer-join.html
这里写图片描写叙述
说明:
full join主要用来生成两个集合的并集,
inner join通经常使用来生成有效的数据
left join和right join使用的场景偏少。

原文地址:https://www.cnblogs.com/brucemengbm/p/7009161.html