以下錯誤:SQL錯誤,列不存在
Unknown column 'Customers.Customer_ID' in 'on clause'
這段代碼的結果:
SELECT First_Name, Last_Name, Orders.Order_ID, Orders.Order_Date, Orders.Plant_ID, Orders.Plant_Qty, Orders.Price, Orders.Employee_ID
FROM Customers, Orders
INNER JOIN Orders as t2
ON Customers.Customer_ID = t2.Order_ID;
我不明白爲什麼; Customers.Customer_ID是Customers表中的一個字段?
看看這個。 'FROM Customers,Orders INNER JOIN Orders as t2'這是什麼? –