我正在使用MYSQL数据库
我能够在两个表上编写连接以获得相同的结果,如下所示
SELECT Cust.name, Cust.customer_id, US.user_type, Cust.mobile_number, US.session_id
FROM uuid_session US, customer Cust
WHERE Cust.customer_id = US.oms_user_id AND US.uuid='333';
SELECT Cust.name, Cust.customer_id, US.user_type, Cust.mobile_number, US.session_id
FROM uuid_session US INNER JOIN customer Cust ON Cust.customer_id = US.oms_user_id AND US.uuid='333';
当我执行两个查询时产生相同的结果
这是我的sqlfiddle
http://sqlfiddle.com/#!2/3f9635/2
请让我知道为什么有两种语法'