#296

Sales Volume by Product

For each product return the total quantity sold. Return product_id and total_quantity.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.

product_idtotal_quantity
310
420
220

Your query result will appear here