PostgreSQL Solution beats 99.85 in Runtime && 100 % in Memory
Complexity\n- Time complexity: 375 ms\n\n- Space complexity: 0.00 MB\n\n# Code\n\nSELECT class\nFROM Courses\nGROUP BY class\nHAVING COUNT(class) >= 5\n\n\n
# Complexity\n- Time complexity: 375 ms\n\n- Space complexity: 0.00 MB\n\n# Code\n```\nSELECT class\nFROM Courses\nGROUP BY class\nHAVING COUNT(class) >= 5\n```\n\n![IMG_7437.JPG](https://assets.leetcode.com/users/images/70282c5a-7c08-426b-83ea-5983481250d7_1713437283.8493505.jpeg)
['PostgreSQL']