Loading...
Monthly Spend Pivot by Provider
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- junior, mid
Problem
Show monthly cloud spend pivoted by provider. Each month should be a row, with separate columns showing total amount for AWS, GCP, and Azure. Only include completed billing entries. Return the month and each provider's total.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.