One linear solution
Intuition\n Describe your first thoughts on how to solve this problem. \nThe probelm is very easy and can be easily using simple expressions .\n\n---\n\n\n# App
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\nThe probelm is very easy and can be easily using simple expressions .\n\n---\n\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\nWE have to only select those classes who have the number of students more than 5 \nso i have used the count function to solve this\n ```\nHAVING COUNT(class) >= 5;\n```\nAfter this we have to just select it and present it as output.\n\n\n---\n\n\n# Code\n```\n#write your my sql query here \n#30-12-2023\nSELECT class \nFROM courses\nGROUP BY class\nHAVING COUNT(class) >= 5;\n\n```
['Database', 'MySQL']