blob: 5ef8dc46dd285487b6cf0a0d78631041c8824c17 [file] [log] [blame]
-- DRILL-3211 (requires group by)
select sum(a2), row_number() over(partition by c2, b2 order by a2) from t2 group by c2,b2;