The Failure Report
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
- L6
Interview Prompt
Each event in event_data has a type such as open, error, or crash. Enrich the event_data table with the users table to get each user's age_bucket as a proxy for region. Then compute the ratio of error events (types error and crash) to total open events, broken down by day and region.
Summary
Errors by day and region. Some areas are worse than they appear.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision