MySQL Clean Simple Solution | Detail Explanation
Breif\n- This approach first groups the rows of the Courses table by the class column using the GROUP BY clause.\n- Then, it filters the groups using the HAVING
# Breif\n- This approach first groups the rows of the Courses table by the class column using the GROUP BY clause.\n- Then, it filters the groups using the HAVING clause to include only those classes where the count of students (COUNT(student)) is greater than or equal to 5.\n- Finally, it selects the class names that meet this condition.\n\n# Code\n```\n# Write your MySQL query statement below\nSELECT class FROM Courses\nGROUP BY class\nHAVING COUNT(student) >= 5;\n```
['Database', 'MySQL']