select university,cast(round(avg(question_cnt),3) as DECIMAL(10,3)) avg_question_cnt,cast(round(avg(answer_cnt),3) as DECIMAL(10,3)) avg_answer_cnt from user_profile group by university HAVING avg_question_cnt < 5 or avg_answer_cnt <20;
2

相关推荐

求offer的大角牛:不吃香菜
点赞 评论 收藏
分享
牛客网
牛客企业服务