Among customers with orders, return name, country, spend and country_avg (the average spend of buying customers in the same country, rounded to 2 decimals) for those whose spend is strictly above their country's average. Sort by country, then spend descending.
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