So far I have this, which gives me total quantities for each quarter. To get it by customer as well
Code:
SELECT MonthQuarter.Quarter, sum(Delivery.Qty) As QtyQuarterly
FROM Delivery INNER JOIN MonthQuarter ON Delivery.DMonth = MonthQuarter.DMonth
GROUP BY MonthQuarter.Quarter
My guess to get it by CustomerID as well was to add Delivery.CustomerID to the SELECT, but that didn't work