Site: LeetCode
Difficulty per Site: Easy
Write a solution to find all the classes that have at least five students.
Return the result table in any order. [Full Description]
-- Submitted Solution
SELECT
class
FROM Courses
GROUP BY class
HAVING COUNT(*) >= 5
;
-- LeetCode Solution
-- Site solution essentially the same.
TODO
TBD