X196: Expression in GROUP BY/ORDER BY clause not allowed.

Only a field name or field number is permitted in a GROUP BY clause. Only a field name or column number is permitted in a ORDER BY clause.
Restriction: This topic applies to Windows environments only.