In aggregated query without GROUP BY, expression #21 of SELECT list contains nonaggregated column 'paralela.c.id'; this is incompatible with sql_mode=only_full_group_by