ah, allora non ti serve il distinct.

codice:
select nome,avg(voto) as media
from tabella
group by nome