[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated c

mysql  5.7.13 下出现的问题查询异常


在 /etc/my.cnf 文件里加上如下:
sql_mode='NO_ENGINE_SUBSTITUTION'
然后,重启Mysql服务就可以解决了!

你可能感兴趣的:([Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated c)