You would have encountered error like this:
Column 'b.name' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause
Try change this:
Group by a.fk_operator_ability
to
Group by a.fk_operator_ability, b.name
Hope it helps.