题解 | 查询成绩

查询成绩

https://www.nowcoder.com/practice/ef30689ae065434c89c129e9dfe1b4cd

select count(*)
from (
    select sId
    from SC
    left join Course on SC.cId = Course.cId
    where cname in ('语文','数学','英语')
    group by sId
    having count(distinct cname) = 3 and sum(score)/3 > 60
) as s1

全部评论

相关推荐

不愿透露姓名的神秘牛友
07-01 10:56
点赞 评论 收藏
分享
缒梦&独舞:这家公司是这样的,去年给我实习offer了,不过也是面着玩儿的,他周六还要去做公益志愿活动
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务