grazie, cmq mettendo l'indice sui campi delle group by migliora te lo giuro, stasera faccio dei test mettendoli anche come mi hai detto tu