Loading...

Cloud Cost Trend Analysis

A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
medium
Seniority
mid

Problem

The FinOps team is looking for services with volatile billing. For each service, show each billing period's cost alongside the change from the previous period (current minus previous). The first record for each service should show a null change. Order by service name and billing date.

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.