eBay marketplace analysts need to report on category performance for the current year (2026).
Write an SQL query to calculate the total sales amount for each product category for all orders placed in 2026.
| order_id(INTEGER) | product_id(INTEGER) | order_date(DATE) | price(DECIMAL) |
|---|---|---|---|
| 1 | 101 | 2026-02-01 | 150 |
| 2 | 101 | 2026-02-15 | 150 |
| 3 | 102 | 2026-03-01 | 300 |
| 4 | 103 | 2025-12-31 | 50 |
| 5 | 104 | 2026-01-01 | 100 |
| product_id(INTEGER) | product_name(VARCHAR) | category_id(INTEGER) |
|---|---|---|
| 101 | Leather Jacket | 1 |
| 102 | Smartphone | 2 |
| 103 | Toaster | 3 |
| 104 | Jeans | 1 |
| category_id(INTEGER) | category_name(VARCHAR) |
|---|---|
| 1 | Fashion |
| 2 | Electronics |
| 3 | Home Appliances |
| category_name(VARCHAR) | total_sales(DECIMAL) |
|---|---|
| Fashion | 400 |
| Electronics | 300 |