select difficult_level, round(sum(if(result='right',1,0))/count(result),4) as correct_rate from (select a.device_id, question_practice_detail.question_id, difficult_level,result from (select * from user_profile where university='浙江大学') as a left join question_practice_detail on a.de...