For each country with orders, return country and median_total: the median order value. With an even number of orders, it's the mean of the two middle values. Sort by country.
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