解决mysql版本过高导致group by的问题
执行如下两条sql语句
set global sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
set session sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
---------------------
作者:fansili
来源:CSDN
原文:https://blog.csdn.net/fansili/article/details/78664267
版权声明:本文为博主原创文章,转载请附上博文链接!