select nev, osztaly from vizsgazo where osztaly~'9' order by osztaly, nev;