Loading interview...

Cheapest and Most Expensive Service per Region

A hard SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.

Domain
SQL
Difficulty
hard
Seniority
mid, senior

Interview Prompt

Combining data from both the cloud costs and cost allocations tables, which services are the most and least expensive per region? For each region, show the names of the highest-cost and lowest-cost services.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your sql solution with real code execution
  4. Get instant feedback and a hire/no-hire decision