mysql5.7,xshell下执行sql不会报下面的错,但是navicat会报错,可能是navicat版本问题,换其他客户端不会出现问题。
[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
可以临时解决
show variables like “sql_model”;
set sql_mode=’’;
set sql_mode=‘no_engine_substitution,strict_trans_tables’;navicat论坛:
![navicat:[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and ..._javascript](https://file.cfanz.cn/uploads/png/2022/02/17/3/6339333660.png)
============================= 提升自己 ==========================
如有侵权,请联系删除。
============================= 升职加薪 ==========================










