codice:
select matricola,count(voto) as quanti
from esame
where voto = 30
group by matricola
having quanti >= 10