当前位置:网站首页>Mysql5.7 group by error
Mysql5.7 group by error
2022-07-03 06:12:00 【Undefined-wechat】
mysql5.7 group by Report errors
Running environment
macOS
mysql edition
5.7.23
Wrong content
ERROR 1055 (42000): Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'db_name.tb_name.field' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
resolvent
my.cnf (windows by my.ini) In file ,[mysql] and [mysqld] Add below sql_mode = 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'
边栏推荐
- About the difference between count (1), count (*), and count (column name)
- Kubesphere - set up redis cluster
- Apple submitted the new MAC model to the regulatory database before the spring conference
- Project summary --04
- Kubernetes notes (II) pod usage notes
- Leetcode problem solving summary, constantly updating!
- Simple understanding of ThreadLocal
- Deep learning, thinking from one dimensional input to multi-dimensional feature input
- 23 design models
- Disruptor learning notes: basic use, core concepts and principles
猜你喜欢

Disruptor learning notes: basic use, core concepts and principles

Use abp Zero builds a third-party login module (I): Principles

轻松上手Fluentd,结合 Rainbond 插件市场,日志收集更快捷

Oauth2.0 - Introduction and use and explanation of authorization code mode

Loss function in pytorch multi classification
![[system design] proximity service](/img/4a/2e68536cbe385af1d1a591e674fbf0.png)
[system design] proximity service

Kubernetes cluster environment construction & Deployment dashboard

JDBC connection database steps

伯努利分布,二项分布和泊松分布以及最大似然之间的关系(未完成)

Convolution operation in convolution neural network CNN
随机推荐
Apifix installation
Sorry, this user does not exist!
智牛股项目--04
Convolution operation in convolution neural network CNN
Some thoughts on machine learning
最大似然估计,散度,交叉熵
Simple understanding of ThreadLocal
从 Amazon Aurora 迁移数据到 TiDB
[teacher Zhao Yuqiang] Alibaba cloud big data ACP certified Alibaba big data product system
Maximum likelihood estimation, divergence, cross entropy
[teacher Zhao Yuqiang] kubernetes' probe
[video of Teacher Zhao Yuqiang's speech on wot] redis high performance cache and persistence
Apple submitted the new MAC model to the regulatory database before the spring conference
1. 兩數之和
项目总结--04
Code generator - single table query crud - generator
Alibaba cloud Alipay sandbox payment
Characteristics and isolation level of database
Pytorch builds the simplest version of neural network
Kubesphere - build Nacos cluster