sql 中 联表on 和where

left join  on 中对表添加的过滤条件 只对右表起作用   左表会完整的呈现出来  要想过滤左表  on 之后用where 进行过滤  不过这样实际上是对量表之后的结果集进行过滤。

rinth join on 正好相反。

inner join  中过滤条件放在on和where中一样。

原文地址:https://www.cnblogs.com/huangshuqiang/p/10103896.html