one liner using GROUP BY
Upvote if you feel it easy :)\n\nSELECT class\nFROM Courses\nGROUP BY class\nHAVING count(student) > = 5;\n
**Upvote if you feel it easy :)**\n```\nSELECT class\nFROM Courses\nGROUP BY class\nHAVING count(student) > = 5;\n```
['Database', 'MS SQL Server']