题解 | #分组过滤练习题#
分组过滤练习题
https://www.nowcoder.com/practice/ddbcedcd9600403296038ee44a172f2d
SELECT * FROM ( SELECT university, AVG(question_cnt) avg_question_cnt, AVG(answer_cnt) avg_answer_cnt FROM user_profile GROUP BY university ) t WHERE avg_question_cnt < '5' OR avg_answer_cnt < '20' ;