Negative Outcome Rate for New Users
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L5
Problem
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.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.