当前位置:   article > 正文

mysql报错 1055 - Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated

1055 - expression #2 of select list is not in group by clause and contains n

进入到mysql界面;输入以下代码:
在这里插入图片描述

SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
  • 1
声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号