Expression #26 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'familybu_new.asec.section_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_bySELECT * FROM articles a JOIN articles_sections asec ON = asec.article_id JOIN article_regions ar ON ar.article_id = WHERE section_id > 25 AND section_id < 35 AND ar.region_id = '5' GROUP BY ORDER BY DESC LIMIT 4