select a.ee, a.cc / b.ff as avg_answer_cnt from ( select user_profile.university as ee, count(question_id) as cc from user_profile, question_practice_detail where user_profile.device_id = question_practice_detail.device_id group by user_profile.university ) a join ( select user_profile.university...