blob: 82a057be1846ac9f16b8c9ca91459b82f1160f49 [file] [log] [blame]
-- DRILL-3211 (requires group by)
select sum(a2), rank() over(partition by b2 order by a2) from t2 group by b2;