TreeviewCopyright © aleen42 all right reserved, powered by aleen42

596. 超过5名学生的课

https://leetcode-cn.com/problems/classes-more-than-5-students/

MySQL

# Write your MySQL query statement below
SELECT class
FROM courses
GROUP BY class
HAVING COUNT(DISTINCT student) >= 5;
Copyright © GoogTech 2021 all right reserved,powered by GitbookLast update time : 2021-09-15 01:55:05

results matching ""

    No results matching ""