标签: mysql inner-join
可能重复: INNER JOIN ON vs WHERE clause
INNER JOIN:
SELECT * FROM PETS INNER JOIN OWNER ON PETS.OWNER_ID = 1 AND OWNER.ID = 1
MULTIPLE TABLE SELECT:
SELECT * FROM PETS, OWNER WHERE PETS.OWNER_ID = 1 AND OWNER.ID = 1
它们似乎产生完全相同的结果。
我正在努力学习最好的方法。在使用连接时,我注意到使用多表调用
答案 0 :(得分:0)
阅读关于交叉联接和内部联接Performance of inner join compared to cross join