Build a grid with every customer and every month that has any orders, showing that customer's revenue in the month, or 0 if they bought nothing. Return name, month (YYYY-MM) and revenue, sorted by name, then 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