SELECT nota, COUNT(nota) AS total, (COUNT(nota)*100/(select count(t1.nota) from teste t1)) AS percent FROM teste GROUP BY nota
Não entendi nada nesse código que você escreveu (sou iniciante) mas funcionou perfeitamente, muito melhor do que eu precisava. Um abraço