Hello, I would like to get the TOTAL quantity sold from the week based on product code. I would like it to list the description, TOTAL Quantity
and total sales value for each product code. Any help would be greatly apprecaited on getting the totals part to work.
table:
query I am working with:
and total sales value for each product code. Any help would be greatly apprecaited on getting the totals part to work.
table:
Code:
Product Code
Description
Transaction Number
Quantity
Sales Value
Cost
Transaction Date
Transaction Time
Department
Type Code
Cashier
Computer Name
Customer Code
query I am working with:
Code:
select [product code], [description], [quantity], [sales value] from product_history where [Transaction Date]<= Date()-7 and [Transaction Date]>=Date() order by [description];