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 ...

 

相关文章:

  • 2022-12-23
  • 2021-06-27
  • 2021-06-03
  • 2021-07-23
  • 2021-10-25
猜你喜欢
  • 2021-11-17
  • 2022-01-29
  • 2021-12-24
  • 2021-12-30
  • 2021-04-16
  • 2021-09-04
相关资源
相似解决方案