Oldest Alert per Service
A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L4
Problem
During an incident review, the on-call team needs the oldest unresolved alert for each service. Show the service name, alert ID, severity, status, and the time the alert was fired, by service name.
Summary
The oldest unresolved alert per service.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.