sql---join用法

join left join,right join,inner join: 例子:select * from table1 as t1 left join table2 as t2 where t1.no = t2.no; left join 关键字会从左表 (t1) 那里返回所有的行,即使在右表 (t2) 中没有匹配的行。 !!!!这里最终返回表里边谁在左谁在右一定要分清。 总结: left j
相关文章
相关标签/搜索