In aggregated query without GROUP BY, expression #32 of SELECT list contains nonaggregated column 'old_composers_app.sachregister.bereichsid'; this is incompatible with sql_mode=only_full_group_by