Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 653 Bytes

120_classes_more_than_5_students.md

File metadata and controls

42 lines (28 loc) · 653 Bytes

SQL Everyday #120

Classes More Than 5 Students

Site: LeetCode
Difficulty per Site: Easy

Problem

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

-- Submitted Solution
SELECT
    class
FROM Courses
GROUP BY class
HAVING COUNT(*) >= 5
;

Site Solution

-- LeetCode Solution 
-- Site solution essentially the same.

Notes

TODO

NB

TBD

Go to Index
Go to Overview