0
製造多表查詢這是SQL代碼,我在那一刻,我能做些什麼,因爲當我嘗試運行它,它說Type Mismatch in expression
需要幫助的訪問
SELECT tblCustomers.CustomerID, tblCustomers.Lastname, tblCustomers.Firstname,
tblCustomers.AddressLine1, tblCustomers.Phone, tblOrders.OrderID,
tblOrders.CustomerID, tblOrders.NumberOfCDs, tblOrders.OrderDate,
tblOrders.PaymentType, tblOrders.AmountPaid, tblOrders.Discount, tblOrders.OrderSent
FROM tblCustomers
INNER JOIN tblOrders ON tblCustomers.CustomerID = tblOrders.CustomerID;
PS來解決它:我剛開始學習使用訪問權限,所以原諒我的'Noobyness',因爲缺乏一個更好的單詞。
兩個「CustomerID」字段是相同的數據類型嗎? –