X075: Cannot mix fields with aggregates without GROUP BY.

If a query selects an aggregate function, any field appearing outside the aggregate function in the SELECT clause must also appear in a GROUP BY clause.