-- 每个学校用户数 SELECT UNIVERSITY , COUNT(device_id) FROM USER_PROFILE UP GROUP BY UNIVERSITY ; -- 每个学校答过题的用户数 SELECT UNIVERSITY , COUNT(device_id) FROM USER_PROFILE UP WHERE DEVICE_ID IN ( SELECT DISTINCT DEVICE_ID FROM QUESTION_PRACTICE_DETAIL) GROUP BY UNIVERSITY; -- 每个用户答题数 SELECT DEV...