#### sql语句报错问题 #1055 - Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'cash.sdb_login_log.id' which ...
由于自己的本地网站环境使用了 mysql . 的版本,在测试一个 group by 的sql查询语句时出现了如下的错误,在百度了不少的解决方法后,终于解决了了,记录一下。 错误代码: Expression of SELECT list is not in GROUP BY clause........ which is not functionally dependent on columns i ...
2020-06-05 16:17 0 1669 推荐指数:
#### sql语句报错问题 #1055 - Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'cash.sdb_login_log.id' which ...
https://blog.csdn.net/aaajavac/article/details/89959118 ...
原因分析:MySQL5.7版本默认设置了 mysql sql_mode = only_full_group_by 属性,导致报错。 1、查看sql_mode SELECT @@sql_mode; 2、去掉ONLY_FULL_GROUP_BY,重新设置值。 SET ...
1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'fbil.fund_bidding_id' which is not functionally ...
今天执行sql语句时出现了高版本mysql愈发不兼容问题 'this is incompatible with sql_mode=only_full_group_by' 所以改一下mysql配置 在mysql.ini或者my.cnf下增加 进行重启即可 ...
一、发现问题 1、查询语句 SELECT * from class group by class_name; 2、报错结果 ..... this is incompatible with sql_mode=only_full_group_by; 二、原因 mysql ...
具体出错提示: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ ...
一、基础环境linux centos 7, mysql 5.7.26 二、问题描述使用group by 进行分组查询时,提示异常: SELECT list is not in GROUP BY clause and contains nonaggregated column ‘XXX ...