连接和从多个表中选择之间的性能差异?

时间:2016-08-25 15:57:57

标签: mysql mariadb

是否存在任何差异,主要是在使用多个表之间的性能方面:

SELECT widgets.* FROM widgets, manufacturers 
WHERE widgets.manufacturer_id = manufacturers.id
AND manufacturers.location = 2

JOIN ing:

SELECT widgets.* FROM widgets
JOIN manufacturers ON widgets.manufacturer_id = manufacturers.id
WHERE manufacturers.location = 2

我特别询问MySQL / MariaDB是否有任何区别。

0 个答案:

没有答案