Skip to content

Commit 2346a41

Browse files
authored
Create 596-classes-more-than-5-students.sql
1 parent 4b22601 commit 2346a41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

596-classes-more-than-5-students.sql

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Write your MySQL query statement below
2+
select class from (select class ,count(distinct student) as num from courses group by class) as temp_table where num>=5

0 commit comments

Comments
 (0)