若是表链接是多条件的sql
select a.*, b.* from a left join b on a.a1=b.b1 where a2=b2
而且join的多条件和where的多条件都是and链接的spa
select a.*, b.* from a left join b on a.a1=b.b1 and a.a2=b.b2 where a.a3=b.b3 and a.a4=b.b4
在使用left jion时,on和where条件的区别以下: code