报错信息
1055 - Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘fbjs.mscc.ContactTime’ which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
临时修改
解决办法:
#1、先 select @@global.sql_mode; 查询是否包含 ONLY_FULL_GROUP_BY值。
#2、设置方法:
set @@global.sql_mode ='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVIS

最低0.47元/天 解锁文章
1361

被折叠的 条评论
为什么被折叠?



