Expert
CTE
Pro Challenge
Three Consecutive Months of Spending Growth
Find customers and ending months where monthly spend increased in each of the last three month-to-month transitions (four consecutive calendar months with spend). Return customer_id, ending_month and ending_spend. Missing months break the sequence. Return columns: customer_id, ending_month, ending_spend.
Preparing the interactive SQL workspace...