解决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
版权声明:本文为博主原创文章,转载请附上博文链接!

posted @ 2018-12-14 10:48  rock_turf  阅读(362)  评论(0编辑  收藏  举报