Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

total of column

Status
Not open for further replies.

ksbrace

Programmer
May 13, 2000
501
US
How do I get the total amount of sum of sales in this query?
Thanks in advance
Code:
SELECT [product history].[transaction date], [product history].[Product Code], [product history].[description one] AS Brand, Sum([product history].Quantity) AS SumOfQuantity, Sum([product history].[Sales Value]) AS [SumOfSales Value]
FROM [product history]
GROUP BY [product history].[transaction date], [product history].[Product Code], [product history].[description one];
[code]
 
BTW,
I have a report set up to run this query, if that makes it any easier.

 
sorry, I figured it out via report builder.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top