How would you use SQL window functions to compute running totals, rank users within a cohort, and compare month-over-month changes?