以下两个查询之间是否存在差异:
select ...
join table1
on condition1
join table2
on condition2
和
select ...
join table1
join table2
on condition1
and condition2
这取决于我的表结构吗?
答案 0 :(得分:1)
join table1 on condition1
join table2 on condition2
//-- no need to use `FROM`
答案 1 :(得分:1)
我相信你要找的是:
select *
from table1
join tableA on condition1,
table2
join tableB on condition2