From 9fe75fae74424a80eea17d08896d896e92788e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Antonio=20Chac=C3=B3n=20Guti=C3=A9rrez?= <138903866+joseantoniochacon@users.noreply.github.com> Date: Thu, 6 Jun 2024 23:24:27 -0600 Subject: [PATCH] Time: 295 ms (99.31%), Space: 0B (100.00%) - LeetHub --- .../0596-classes-more-than-5-students.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 0596-classes-more-than-5-students/0596-classes-more-than-5-students.sql diff --git a/0596-classes-more-than-5-students/0596-classes-more-than-5-students.sql b/0596-classes-more-than-5-students/0596-classes-more-than-5-students.sql new file mode 100644 index 0000000..234bfcc --- /dev/null +++ b/0596-classes-more-than-5-students/0596-classes-more-than-5-students.sql @@ -0,0 +1,2 @@ +# Write your MySQL query statement below +SELECT class FROM Courses GROUP BY class HAVING COUNT(student) > 4; \ No newline at end of file