问题描述
对于如下sql
select a,b,count(c) from t_xxx group by a;
在mysql5.7以前的版本是可以运行的,但是在5.7以后的版本这条语句会报错。
[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