select s1.university, s3.difficult_level, round(count(s2.question_id)/count(distinct s2.device_id),4) as avg_answer_cnt from user_profile as s1 inner join question_practice_detail as s2 on s1.device_id = s2.device_id left join question_detail as s3 on s2.question_id = s3.question_id ...