X126: Cannot GROUP BY an aggregate function.

Aggregate functions cannot appear in a GROUP BY clause.