Change various uses of GROUP BY 1,2,3 and similar to use the actual column names...