XDB Server does not permit use of expressions (other than aggregate functions) in a query having a GROUP BY clause unless
you include the expression in the GROUP BY clause using its column number.
Restriction: This topic applies to Windows environments only.