Alla icke-aggregerade kolumner i SELECT måste finnas i GROUP BY.Lägg till dem i GROUP BY eller aggregera dem.