Window functions: running totals, ranks and gaps

Medium4 min read