Skip to content
SQLSimplified
hardstorewindowcte

Top Spender Per City

Problem

Return the top-spending customer (name, city, total_spend) within each customer city.

Try It

Loading playground environment...

Hint

Solution