For each classroom, report the classroom number and the number of grades using it.
CREATE TABLE list (classroom VARCHAR, grade VARCHAR)
[SQL] SELECT classroom, COUNT(DISTINCT grade) FROM list GROUP BY classroom [/SQL]