-- 题目:现在运营想查看每个学校用户的平均发贴和回帖情况,寻找低活跃度学校进行重点运营,请取出平均发贴数低于5的学校或平均回帖数小于20的学校。 -- 第一种写法 SELECT a.university university, round( avg( ifnull ( a.question_cnt, 0 ) ), 3 ) avg_question_cnt, round( avg( ifnull ( a.answer_cnt, 0 ) ), 3 )...