mysql中SELECT list is not in GROUP BY clause and contains nonaggregated column解决办法
1.说明报错原因是查询语句中与分组字段不匹配,查询的必须作为全部的分组字段2.暂时解决执行如下sql可以暂时解决,重启后失效setsql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';3.修改配置文件修改mysql配置文件,mysql