Sum in Query

skwilliams

Registered User.
Local time
Today, 16:21
Joined
Jan 18, 2002
Messages
516
I have a table with information and need a query to display the results in a specific format

I've attached an excel file which shows the table data and the query format needed.

Any ideas??

Thanks.
 

Attachments

SELECT DISTINCTROW Table1.Category, Table1.Type, Sum(Table1.Total) AS [Sum Of Total]
FROM Table1
GROUP BY Table1.Category, Table1.Type;

Hope this helps.
 
Thanks.

But I need the Mc Blanks totaled, Mc Printed totaled, etc. They are still being split by date.
 
Thanks.

But I need the Mc Blanks totaled, Mc Printed totaled, etc. They are still being split by date.
 
Thanks.

But I need the Mc Blanks totaled, Mc Printed totaled, etc. They are still being split by date.
 
You need to remove the RecDate from the select statement. Just have Category, Type and Sum(I called it total).
 

Users who are viewing this thread

Back
Top Bottom