为什么我这么写,会报语法错呢?可以帮忙看看问题吗 SELECT university, AVG(question_cnt) AS AVG_Q, AVG(answer_cnt) AS AVG_A FROM user_profile GROUP BY university HAVING AVG_Q<5 OR AVG_A<20 SQL_ERROR_INFO: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AVG(answer_cnt) AS AVG_A\nFROM user_profile\nGROUP BY university\nHAVING AVG_Q<5 OR' at line 3"
1

相关推荐

04-22 15:13
已编辑
Java
点赞 评论 收藏
分享
牛客网
牛客企业服务