Category Spend Royalty

31. Category Spend Royalty

Rank customers by total spending within each product category.

Xorthax wants to determine a unique leaderboard of top spenders for each product category. Assign a distinct rank to each customer within their category based on their total spending, even if some totals are the same.
Write Your Query