0
因此,我創建了一個查詢,顯示每個月的銷售額和每個月的項目數量。我想添加到查詢中,以製作出每件商品平均售價爲$的另一列。來自Access中多列的總和
這可能嗎? 這是我目前一個沒有新增加:
SELECT
[Running Sales].Monthly,
Sum([Running Sales].Price) AS [Sales Dollar],
Sum([Running Sales].[Discount Amount]) AS [Total Discounts],
Count([Running Sales].[Bandana Size]) AS [# of Bandanas Sold],
Count([Running Sales].[Shirt Size]) AS [# of Shirts Sold]
FROM [Running Sales]
GROUP BY [Running Sales].Monthly
ORDER BY [Running Sales].Monthly;
我在Microsoft Access數據庫這樣做。 謝謝。