Recover GROUP BY X by aggregating from GROUP BY X,Y I have very large table groupedby_x_y (2B rows) with the columns: