The Fault Lines
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L5
Problem
To see which account groups have the roughest time in the product, find each account status's share of events that ended badly, worst first. Treat an event as bad when its type is error, timeout, or crash.
Summary
Some account groups hit far more errors than others. Surface the ones that break most.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.