Error related to only_full_group_by when executing a query in MySql
I would just add group_id to the GROUP BY. When SELECTing a column that is not part of the GROUP BY there could be multiple values for that column within the groups, but there will only be space for a single value in the results. So, the database usually needs to be told exactly how … Read more