Filtering in SQL: filtering column by number of occurences

PHOTO EMBED

Wed Oct 04 2023 20:39:58 GMT+0000 (Coordinated Universal Time)

Saved by @jaez #mysql

#Needed to filter out all classes that occur at least 5 times in the column.

select class
FROM Courses
GROUP BY class
having count(*) >5
content_copyCOPY