The ability to perform a GROUP BY using column numbers in the specification is not supported in any compatibility modes other
than the XDB mode. Change compatibility mode or write specification using column names.
Restriction: This topic applies to Windows environments only.