Your question is Top Failure Reasons by Region. Start with the requirements and the two tables on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Verizon network operations teams use drop-event data to prioritize reliability investigations across service regions. Write a PostgreSQL query to identify the three most frequent failure reasons for each region.
network_drop_events to verizon_regions using region_id.event_status is FAILED and whose failure_reason is not NULL.| Column | Type | Description |
|---|---|---|
| region_idPK | INT | Unique Verizon service-region identifier |
| region_name | VARCHAR(50) | Human-readable service-region name |
| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique network drop event identifier |
| region_id | INT | Region associated with the event |
| event_time | TIMESTAMP | Timestamp when the event occurred |
| failure_reason | VARCHAR(100) | Classified reason for the network failure |
| event_status | VARCHAR(20) | Lifecycle status of the event |