SQL problemINTERMEDIATEDifficulty: INTERMEDIATEWindow functions~7 min
Running total that resets each month
Produce a running total of amount per customer that resets at the start of each calendar month, ordered by transaction date.
Given
transactions: transaction_id, customer_id, transaction_date, amount