Easy solution || Full Explanation
Please upvote if you like the solution.\n\n# Explanation\nThe \u201CGroup By\u201D clause is used to group data into summary rows based on common values, while 
Please upvote if you like the solution.\n\n# Explanation\nThe \u201CGroup By\u201D clause is used to group data into summary rows based on common values, while the \u201CHaving\u201D clause is used to filter those groups based on a condition that applies to the aggregated data.\n\n# Code\n```\nSELECT class FROM Courses\nGROUP BY class\nHAVING COUNT(student) >= 5;\n```
['Database', 'PostgreSQL']