Suchen Sie Klasse> = 5 aus der Liste

SELECT class
FROM
    (SELECT class, COUNT(DISTINCT student) AS student_num
FROM Courses
GROUP BY class) AS table_1
WHERE student_num >=5;
Jacqueline Lino