[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

重启下mysql服务,在载入sql文件,就不回报错了
博客指出MySQL出现ORDER BY子句与GROUP BY子句不兼容的报错,错误代码为1055。原因是ORDER BY子句中的列不在GROUP BY子句中且包含非聚合列。解决办法是重启MySQL服务,再载入SQL文件,即可消除报错。

被折叠的 条评论
为什么被折叠?



