I have the following transaction table:
transaction
I would like to calculate the total quantity purchased for each:
product