Cioè che aggiungi alla SELECT lo devi aggiungere anche alla GROUP BY.

Roby