For each month (YYYY-MM, from order_date) return month, the name of the customer with the highest total spend that month, and their spend. Sort by month.
Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.
Start 7-day free trial