You're a data analyst at Bramble Market, a chain of neighborhood convenience stores. The CFO is preparing next year's budget and wants to analyze sales seasonality in 2025: which months had more purchases and how much customers spent. The store_orders table contains orders from several years, but only 2025 matters for this analysis.
For each month of 2025 that had at least one order, calculate the number of orders and total revenue. Do not include months with no orders.
Return these columns:
- month_num — month number (an integer from 1 to 12);
- orders_cnt — number of orders in that month (an integer);
- revenue_total — total revenue for that month, rounded to 2 decimal places.
Sort the result by month_num in ascending order. Ignore orders from all other years. There are no duplicate orders in the data.
month_numorders_cntrevenue_totalShowing the first 3 rows of the sample — the full sample comes with Premium
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in