Loading interview...

Error Rate by Region

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

Domain
SQL
Difficulty
medium
Seniority
staff

Interview Prompt

Given an event_data table (with user_id, event_type, and date) and a users table (with age_bucket as a region proxy), write a query to compute the error rate per day per region. Error events are those with type 'error' or 'crash'; the denominator is total 'open' events.

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