Originariamente inviato da piero.mac
SELECT id, sum(punteggio) as tot
FROM tabella
group by id_account
order by tot