Your question is Top Updated Map Segments Query. 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.
HERE Technologies monitors map quality by tracking changes made to segments in the HERE map database. Write a PostgreSQL query to identify the five most frequently updated map segments in the Central Europe region during the 30-day period ending February 15, 2025.
Central Europe region.segment_id ascending.| Column | Type | Description |
|---|---|---|
| segment_idPK | INT | Unique map segment identifier |
| segment_name | VARCHAR(100) | Human-readable segment name |
| region_name | VARCHAR(50) | HERE map region containing the segment |
| is_active | BOOLEAN | Whether the segment is currently active |
| Column | Type | Description |
|---|---|---|
| update_idPK | INT | Unique update event identifier |
| segment_id | INT | Updated map segment |
| updated_at | TIMESTAMP | Timestamp when the update was recorded |
| update_type | VARCHAR(30) | Type of map change |
| updated_by | VARCHAR(80) | Source or analyst responsible for the update |