MySQL报错“Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggre”解决方法
背景项目开发中,有个逻辑要用到groupby,执行的时候,提示报错:Expression#1ofSELECTlistisnotinGROUPBYclauseandcontainsnonaggregatedcolumn'novo_chatbot.web_users.id'whichisnotfunctionallydependentoncolumnsinGROUPBYclause