CREATE TABLE teachers (lastname CLOB, firstname CLOB, classroom NUMBER)
CREATE TABLE list (lastname CLOB, firstname CLOB, grade NUMBER, classroom NUMBER)

For each classroom, show the classroom number and find how many students are using it.
SELECT classroom, COUNT(*) FROM list GROUP BY classroom
SELECT "classroom", COUNT(*) FROM "list" GROUP BY "classroom"