Loading...
Service With Most Critical Alerts
A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- mid, senior
Problem
During an active incident, the incident commander needs full details for the service that has received the most alerts where severity contains the word 'critical'. Return all columns for every alert belonging to that service, ordered by fired_at.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.