Explore Library
Flashcard

Window Functions for Cohort & Trend Analysis

How CTEs plus window functions enable cohort retention and running-trend analysis without collapsing rows.

Question

How do window functions and CTEs combine to compute cohort retention and running trends?

Click to reveal answer