Difference between INNER JOIN and WHERE?
问题 First Query: Select * from table1 inner join table2 on table1.Id = table2.Id Second Query: Select * from table1, table2 where table1.Id = table2.Id What is difference between these query regarding performance which should one use? 回答1: The two statements you posted are logically identical. There isn't really a practical reason to prefer one over the other, it's largely a matter of personal style and readability. Some people prefer the INNER JOIN syntax and some prefer just to use WHERE.