select qd.difficult_level, (sum(case when a.result='right' then 1 else 0 end))/(count(a.result)) as correct_rate from question_detail qd inner join (select* from question_practice_detail q where q.device_id in (select device_id from user_profile where university='浙江大学')) a on qd.question_id=a.questi...