Negative Outcome Rate for New Users
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
- L5
Interview Prompt
Given a users table with signup dates and an event_data table with event types and timestamps, calculate the fraction of events with a negative outcome out of all events for users who signed up in June 2026, restricted to events that occurred within 14 days of signup. Negative outcomes are events where the event_type is error, timeout, or crash.
Summary
New users have a rough first two weeks.
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