How would you use SQL to identify the top 10 buildings with the highest repeat maintenance requests over the last 90 days?
Use the provided buildings and maintenance requests data. Treat a building as having repeat requests when it has more than one maintenance request during the period.
building_id, building_name, and repeat_request_count.| Column | Type | Description |
|---|---|---|
| building_idPK | INT | Unique identifier for a campus building |
| building_name | VARCHAR(100) | Official building name |
| campus | VARCHAR(50) | Campus where the building is located |
| Column | Type | Description |
|---|---|---|
| request_idPK | INT | Unique maintenance request identifier |
| building_id | INT | Building associated with the request |
| requested_at | TIMESTAMP | Timestamp when the request was submitted |
| priority | VARCHAR(20) | Operational priority of the request |