Leetcode 596. 超过5名学生的课(group by + having

2021-04-20 10:59:33 浏览数 (1)

代码语言:javascript复制
select class
    from courses
    group by 1
    having count(distinct student)>=5

0 人点赞