select stu_id, sum(case course when "语文" then SCORE else 0 end) as chinese_score, sum(case course when "数学" then SCORE else 0 end) as maths_score from exam group by stu_id having chinese_score >= 60 and maths_score <60
点赞 评论

相关推荐

11-07 21:45
已编辑
福建省建阳第一中学 golang
点赞 评论 收藏
分享
牛客网
牛客企业服务