隐性连接 与 内连接 的关系

之前写sql时候一直分不清

select *
from orders o ,customers c
where o.customer_id =c.customer_id

SELECT *
FROM orders o
JOIN customer c
ON o.customer_id = c.customer_id

的区别。

上面那个叫隐式内连接   下面的为显示内连接

区别 :隐式内连接 语法更简单,显示内连接 效率更高,两个在查询结果上来说是相同的

原文地址:https://www.cnblogs.com/yxj808/p/14806976.html