Beats 84.96% !!!!!!!!!!!!!!!
First Stepselect class as we want to display itSecond Stepgroup by class as we want to display the count of students having same class/subThird Stepadd conditio
# First Step
select class as we want to display it

# Second Step
group by class as we want to display the count of students having same class/sub

# Third Step
add condition for count(student)>4 as we want 5 or more

# Forth Step
Encapsulate of these together

And voilà you've the solution!!!!

# Code
```mssql []
select class from Courses
group by class
having count(student)>4
```
['MS SQL Server']