# 1.先查出每个用户8月答题数量、正确的数量,作为表a # 2.再去用户表中找出复旦大学的学生,与表a进行左外连接 select c.device_id, c.university, if(d.question_cnt is NULL,0,d.question_cnt) question_cnt, if(d.right_question_cnt is NULL,0,d.right_question_cnt) right_question_cnt from user_profile as c left join (select a.device_i...