[Err] 1055 - Expression #1 ...... this is incompatible with sql_mode=only_full_group_by

[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column '' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
[Err]1055-ORDER BY子句的表达式#1不在GROUP BY子句中,并且包含非聚合列“”,该列在功能上不依赖于GROUP BY子句的列;这与sqlmode=only_full_group_by不兼容

[Err] 1055 - Expression #1 ...... this is incompatible with sql_mode=only_full_group_by_第1张图片

===

mysql-8.0.30-winx64-CSDN博客

打开配置文件,看看有没有这个【only_full_group_by】删除即可

[Err] 1055 - Expression #1 ...... this is incompatible with sql_mode=only_full_group_by_第2张图片

 

你可能感兴趣的:(mysql,mysql)