Ho questa istruzione sql che funziona alla perfezione:

SELECT id, sum(punteggio) as tot
FROM tabella
group by id_account
order by tot

ma se cerco di fare riferimento a tot nella clausola where mi da errore, sbaglio qualcosa?

SELECT id, sum(punteggio) as tot
FROM tabella
where tot > 10
group by id_account
order by tot