当前位置:网站首页>[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.
边栏推荐
- FAQs and answers to the imitation Niuke technology blog project (I)
- Nuxtjs快速上手(Nuxt2)
- 【educoder数据库实验 索引】
- Experiment 6 inheritance and polymorphism
- 4. Branch statements and loop statements
- Hackmyvm target series (4) -vulny
- Nuxtjs quick start (nuxt2)
- 7-9 制作门牌号3.0(PTA程序设计)
- 7-5 走楼梯升级版(PTA程序设计)
- 7-4 hash table search (PTA program design)
猜你喜欢

Nuxtjs quick start (nuxt2)

HackMyvm靶机系列(5)-warez

强化学习基础记录

. Net6: develop modern 3D industrial software based on WPF (2)

HackMyvm靶机系列(4)-vulny
![[dark horse morning post] Shanghai Municipal Bureau of supervision responded that Zhong Xue had a high fever and did not melt; Michael admitted that two batches of pure milk were unqualified; Wechat i](/img/d7/4671b5a74317a8f87ffd36be2b34e1.jpg)
[dark horse morning post] Shanghai Municipal Bureau of supervision responded that Zhong Xue had a high fever and did not melt; Michael admitted that two batches of pure milk were unqualified; Wechat i

HackMyvm靶机系列(6)-videoclub

MATLAB打开.m文件乱码解决办法

Leetcode. 3. Longest substring without repeated characters - more than 100% solution

小程序web抓包-fiddler
随机推荐
Custom RPC project - frequently asked questions and explanations (Registration Center)
MySQL lock summary (comprehensive and concise + graphic explanation)
强化学习系列(一):基本原理和概念
HackMyvm靶机系列(3)-visions
(original) make an electronic clock with LCD1602 display to display the current time on the LCD. The display format is "hour: minute: Second: second". There are four function keys K1 ~ K4, and the fun
Experiment 6 inheritance and polymorphism
7-8 7104 Joseph problem (PTA program design)
强化学习基础记录
A piece of music composed by buzzer (Chengdu)
1143_ SiCp learning notes_ Tree recursion
力扣152题乘数最大子数组
Hackmyvm target series (4) -vulny
7-9 make house number 3.0 (PTA program design)
7-5 staircase upgrade (PTA program design)
Analysis of penetration test learning and actual combat stage
7-9 制作门牌号3.0(PTA程序设计)
7-6 local minimum of matrix (PTA program design)
Package bedding of components
QT meta object qmetaobject indexofslot and other functions to obtain class methods attention
撲克牌遊戲程序——人機對抗