SQL Window Functions Cheatsheet
Days-to-next-purchase per user?
SQL Window Functions Cheatsheet
Islands example?
SQL Window Functions Cheatsheet
Standard window function in Spark SQL?
SQL Window Functions Cheatsheet
Keep latest per group pattern?
SQL Window Functions Cheatsheet
Window for "yesterday's value"?
SQL Window Functions Cheatsheet
Gaps and islands — basic technique?
SQL Window Functions Cheatsheet
ARRAY_AGG over window?
SQL Window Functions Cheatsheet
Why does plain LAST_VALUE seem wrong?
SQL Window Functions Cheatsheet
Combining window aggregates with HAVING?
SQL Window Functions Cheatsheet
Window function with named window clause?
SQL Window Functions Cheatsheet
Frame BETWEEN N PRECEDING AND N FOLLOWING?