Make sql full_group_by compatible sql_mode=only_full_group_by

select @@global.sql_mode;

SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));

Comments