X206: Compatibility index must be set to group by number.
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.