我得到這個特定的語句的語法錯誤,我已經真正的聲明和檢查錯誤,似乎無法找到任何,也許一雙新鮮的眼睛可能會看到的東西。語法錯誤mysql(按長度排序)
SELECT Purchase_Order.Airline_Carrier_Code,
Aircraft_Purchased.*,
Aircraft.Unit_Price * Aircraft_Purchased.Quantity as Total_Cost
FROM Aircraft_Purchased
INNER JOIN Purchase_Order ON Aircraft_Purchased.Order_Number = Purchase_Order.Order_Number
INNER JOIN Aircraft_Purchased.Aircraft_ID = Aircraft.Aircraft_ID
ORDER BY (Purchase_Order.Airline_Carrier_Code), Purchase_Order.Airline_Carrier_Code;
錯誤代碼我收到低於
1064 - 你在你的SQL語法錯誤;檢查對應於你的MySQL服務器版本使用附近的「.Aircraft_ID ORDER BY長度(Purchase_Order.Airline_Carrier_Code),Purchase_Orde」在行權語法手冊* 1 *
謝謝,我知道這是簡單的事情 – tarantino 2013-04-26 02:32:22