For each order, return customer_id, order_date, total and rolling_avg: the average of this order and the customer's previous order (just this one for their first order), rounded to 2 decimal places.
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