mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
PostgreSQL requires every non-aggregated SELECT expression to appear in GROUP BY. t.category and cats.category are equal by the JOIN condition but PG doesn't fold them — selecting cats.category (which is already in GROUP BY) resolves the error on overview:ae and categories:ae queries.