PostgreSQL: Documentation: Manuals: PostgreSQL 9.0: Window Functions

A window function performs a calculation across a set of table rows that are somehow related to the current row. This is comparable to the type of calculation that can be done with an aggregate function. But unlike regular aggregate functions, use of a window function does not cause rows to become grouped into a …

Continue reading ‘PostgreSQL: Documentation: Manuals: PostgreSQL 9.0: Window Functions’ »