在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

 

 

相关文章: