关于mysql的 sql_mode=only_full_group_by 报错

在mysql中执行   :   SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));

 



官网:https://dev.mysql.com/doc/refman/5.7/en/group-by-handling.html
stackoverflow : http://stackoverflow.com/questions/23921117/disable-only-full-group-by

 

 
posted @ 2017-05-03 16:19  webbky  阅读(266)  评论(0编辑  收藏  举报