Category Supplier Spending Footprint :Analyze Customer Spending Across Product Categories and Suppliers with Ranking and Cumulative Distribution Advanced

Rank customer spending within category-supplier groups and calculate cumulative distribution.

Xorthax wants to analyze his top customers' spending patterns by product category and supplier. Write a query to calculate each customer's total spending within each category-supplier group, rank each customer within that group, and calculate the cumulative distribution of spending within that same category-supplier group.
Write Your Query
Next Problem →

This represents evaluating customer spending behavior across different product category and supplier combinations to find top contributors and distribution trends.

You'll practice combining grouped spending totals, ranking, and cumulative distribution analysis within category-supplier groups.

This problem is labeled as Advanced. It’s intended for learners who are already comfortable with common window functions and want to push into more complex analytical patterns. Don’t rush — work through the hints one at a time and study the final query structure carefully.

Yes. Every problem comes with optional hints you can reveal one at a time, plus a fully worked step-by-step solution. You decide how much help you want while practicing.

All problems on PracticeWindowFunctions.com are completely free and can be solved without creating an account. Right now there are over 80 practice problems, with new ones added regularly.