为了账号安全,请及时绑定邮箱和手机立即绑定

1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 't1.tb1.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 't1.tb1.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by


正在回答

3 回答

可以放源代码?

0 回复 有任何疑惑可以回复我~
#1

zsfen 提问者

非常感谢!
2016-11-16 回复 有任何疑惑可以回复我~

sql-mode="STRICT_ALL_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ZERO_DATE,NO_ZERO_IN_DATE,NO_AUTO_CREATE_USER"

--------------------------------------------------------------------------------

在my.ini中加上这句话就行了

0 回复 有任何疑惑可以回复我~
#1

Myka_atcn

嗯 谢谢~!
2017-08-04 回复 有任何疑惑可以回复我~
#2

qq_吴圣杰_0

有用!请问是什么原因?
2017-11-24 回复 有任何疑惑可以回复我~

不懂什么意思

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
与MySQL的零距离接触
  • 参与学习       396886    人
  • 解答问题       3353    个

本课程涵盖全部MySQL数据库的基础,学习MySQL数据库的基础知识

进入课程

1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 't1.tb1.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信