Interview practice question
Month-over-month growth by region
Data Analyst · SQL for Analytics · Intermediate
How would you calculate month-over-month revenue growth for each region?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Aggregate revenue per region per month.
- LAG(revenue) OVER (PARTITION BY region ORDER BY month).
- Growth = (current − previous) / previous.
- Handle missing months and zero.
- Compare same-length periods.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.