select university, count(a.question_id) / count(distinct a.device_id) as avg_answer_cnt from user_profile b join question_practice_detail a on a.device_id =b.device_id group by university order by university asc