当前位置:网站首页>[err] 1055 - expression 1 of order by clause is not in group by clause MySQL
[err] 1055 - expression 1 of order by clause is not in group by clause MySQL
2022-07-06 14:02:00 【Little boy, handsome Yang Shaoping】
problem :[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Solution :
select version(),
@@sql_mode;SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
The perfect solution is :
1 show variables like "sql_mode";
2
3 set sql_mode='';
4 set sql_mode='NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES';
- 1.
- 2.
- 3.
- 4.
边栏推荐
猜你喜欢

强化学习系列(一):基本原理和概念

PriorityQueue (large root heap / small root heap /topk problem)

深度强化文献阅读系列(一):Courier routing and assignment for food delivery service using reinforcement learning

2022 Teddy cup data mining challenge question C idea and post game summary

小程序web抓包-fiddler
![[VMware abnormal problems] problem analysis & Solutions](/img/64/f44864da600b61a1a646a5865a2083.jpg)
[VMware abnormal problems] problem analysis & Solutions

Experiment 6 inheritance and polymorphism

实验六 继承和多态

Safe driving skills on ice and snow roads

FAQs and answers to the imitation Niuke technology blog project (II)
随机推荐
7-3 construction hash table (PTA program design)
【educoder数据库实验 索引】
js判断对象是否是数组的几种方式
Beautified table style
Miscellaneous talk on May 27
Implementation of count (*) in MySQL
附加简化版示例数据库到SqlServer数据库实例中
实验四 数组
[VMware abnormal problems] problem analysis & Solutions
HackMyvm靶机系列(3)-visions
Leetcode. 3. Longest substring without repeated characters - more than 100% solution
Nuxtjs快速上手(Nuxt2)
【头歌educoder数据表中数据的插入、修改和删除】
【VMware异常问题】问题分析&解决办法
小程序web抓包-fiddler
It's never too late to start. The tramp transformation programmer has an annual salary of more than 700000 yuan
Force deduction 152 question multiplier maximum subarray
强化学习系列(一):基本原理和概念
简述xhr -xhr的基本使用
Canvas foundation 2 - arc - draw arc