Window functions are in the intermediate to power user territory, but key to reporting with Postgres. This post, is still a classic of not only using window functions but also combining them with common table expressions, arrays, and composite types.
|