Answers for "- In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'forum.T2.id'; this is incompatible with sql_mode=only_full_group_b"

SQL
2

GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
SET SESSION sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
Posted by: Guest on June-09-2020

Code answers related to "- In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'forum.T2.id'; this is incompatible with sql_mode=only_full_group_b"

Code answers related to "SQL"

Browse Popular Code Answers by Language