Loading interview...
The Severity Matrix
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
Interview Prompt
Per svc_name in alert_events, pivot counts by severity: critical_count (severity='critical'), warning_count, info_count, null_count (severity IS NULL), and total_count = COUNT(*). Return 6 columns sorted by total_count descending, tie-break alphabetically by svc_name.
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