关于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