Foundation Robotics needs a report of the most frequent error codes generated by each robotic drive category during the 30-day period ending on 2026-09-14. Write a SQL query to produce this report.
category_name, error_code, and error_count.error_code.category_name ascending, then error_count descending, then error_code ascending.| Column | Type | Description |
|---|---|---|
| category_idPK | INT | Unique robotic drive category identifier |
| category_name | VARCHAR(80) | Name of the robotic drive category |
| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique error event identifier |
| category_id | INT | Referenced robotic drive category |
| error_code | VARCHAR(20) | Generated robotic drive error code |
| occurred_at | DATE | Date on which the error occurred |