In aggregated query without GROUP BY, expression #3 of SELECT list contains nonaggregated column 'db_367754_2.ort.name'; this is incompatible with sql_mode=only_full_group_by