可能重複:
WHERE clause better execute before IN and JOIN or after
INNER JOIN versus WHERE clause — any difference?交叉聯接差異問題
什麼,如果有的話,有以下區別?
Select
col1,
col2
from TableA A, TableB B
where A.ID = B.ID
和
Select
col1,
col2
From TableA A
Inner Join TableB B on A.ID = B.ID
他們似乎在SQL同樣的行爲,
請注意,這不是'CROSS JOIN'。這兩個查詢都是'INNER JOIN'。 – 2011-05-03 22:23:33