首页 > 数据库技术 > 详细

MySQL: 1055 - Expression #1 ; this is incompatible with sql_mode=only_full_group_by

时间:2021-07-06 18:16:53      阅读:13      评论:0      收藏:0      [点我收藏+]
 1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘mysql-test-data.o1.seller_id‘ which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

出现这个问题的时候,在网络搜集各种设置方式,仅仅这一个是有用的

set sql_mode =‘STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION‘;

MySQL: 1055 - Expression #1 ; this is incompatible with sql_mode=only_full_group_by

原文:https://www.cnblogs.com/Tdazheng/p/14977579.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!