+-------------+---------+
|Column Name |Type|+-------------+---------+
| student | varchar ||class| varchar |+-------------+---------+
(student, class) is the primarykeycolumnfor this table.
Eachrowof this table indicates the name of a student and the classin which they are enrolled.
Write an SQL query to report all the classes that have at least five students.
+---------+----------+
| student |class|+---------+----------+
| A | Math || B | English ||C| Math || D | Biology || E | Math || F | Computer ||G| Math || H | Math || I | Math |+---------+----------+
Output:
1
2
3
4
5
+---------+
|class|+---------+
| Math |+---------+