select TABLE_A.device_id, TABLE_A.university, IFNULL(TABLE_B.question_cnt, 0) as question_cnt, IFNULL(TABLE_B.right_question_cnt, 0) as right_question_cnt from (select device_id, university from user_profile where university = '复旦大学') as TABLE_A left j...