select u.university,convert(count(question_id) / count(distinct u.device_id),decimal(10,4)) from user_profile u inner join
question_practice_detail q on u.device_id = q.device_id
group by u.university order by u.university;
question_practice_detail q on u.device_id = q.device_id
group by u.university order by u.university;