select osztaly, count(*) from vizsga join vizsgazo on vizsgazoaz=vizsgazo.azon where irasbeli+szobeli>=90 group by osztaly;