Database: student_1

Question: For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.
SQL: SELECT grade ,  count(DISTINCT classroom) ,  count(*) FROM list GROUP BY grade

Question: Which classroom has the most students?
SQL: SELECT classroom FROM list GROUP BY classroom ORDER BY count(*) DESC LIMIT 1

Question: For each grade 0 classroom, report the total number of students.
SQL: SELECT classroom ,  count(*) FROM list WHERE grade  =  "0" GROUP BY classroom

Question: Report the total number of students for each fourth-grade classroom.
SQL: SELECT classroom ,  count(*) FROM list WHERE grade  =  "4" GROUP BY classroom