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