DataDriven
LearnPracticeInterviewDiscussDaily

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

Domain
SQL
Difficulty
medium
Seniority
L3

Problem

For 2026 cloud spending, find the top 2 services by total cloud cost, but only for services that also have cost allocations on file. Exclude any records where the billing date is null (cancelled charges). Show the service name and total cloud cost amount.

Summary

Two services eating most of the budget.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.

Related

  • All Practice Problems
  • Mock Interview Mode
  • SQL Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons