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
点赞 评论

相关推荐

12-05 12:12
门头沟学院 Java
点赞 评论 收藏
分享
牛客78682892...:直接点还好,总比要了简历也不回的强
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务