【leetcode】596. 超过5名学生的课

题目:

【leetcode】596. 超过5名学生的课_第1张图片

答案:

# Write your MySQL query statement below
select 
class
from
courses
group by class
having count(DISTINCT student) >= 5;
参考链接:https://blog.csdn.net/ooooooobh/article/details/52795073

你可能感兴趣的:(leetcode学习记录,leetcode)