D
Dazed
Hi, I need to change the Group By level in my Access Query so that it
will group my Postal Code/Zip Codes by the first 3 characters. I am
guessing that I am going to need to change the SQL settings. If you
could give it to me as exact as possible that would be great.(I am not
a programmer, so the language throws me off) Here is what my current
Syntax looks like. What would I need to change?
SELECT [customer table].[Zip/Postal Code], Sum([order table].SubTotal)
AS SumOfSubTotal, Count([customer table].[Cust#]) AS [CountOfCust#],
Avg([order table].SubTotal) AS AvgOfSubTotal
FROM [customer table] INNER JOIN [order table] ON [customer
table].[Cust#] = [order table].[Sold to Customer]
GROUP BY [customer table].[Zip/Postal Code];
Thanks
will group my Postal Code/Zip Codes by the first 3 characters. I am
guessing that I am going to need to change the SQL settings. If you
could give it to me as exact as possible that would be great.(I am not
a programmer, so the language throws me off) Here is what my current
Syntax looks like. What would I need to change?
SELECT [customer table].[Zip/Postal Code], Sum([order table].SubTotal)
AS SumOfSubTotal, Count([customer table].[Cust#]) AS [CountOfCust#],
Avg([order table].SubTotal) AS AvgOfSubTotal
FROM [customer table] INNER JOIN [order table] ON [customer
table].[Cust#] = [order table].[Sold to Customer]
GROUP BY [customer table].[Zip/Postal Code];
Thanks