在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
在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
转载于:https://www.cnblogs.com/wanghaonull/p/6802472.html