Save 25%Black Friday: 25% off all plans — use code BLACKFRIDAY2026 at checkout. Ends Monday, Dec 7.Claim the deal

Table: purchases

+--------------+---------+
| Column Name  | Type    |
+--------------+---------+
| order_id     | integer |
| user_id      | integer |
| product_type | varchar |
| quantity     | integer |
| order_date   | date    |
+--------------+---------+

order_id is the primary key for this table.
Each row represents one purchase transaction. quantity indicates the number of items purchased in that transaction.

Test Cases
Input
-
Output
-
Expected
-