Window Functions: PostgreSQL’s Best-Kept Secret

Analysis
Nov 18, 20111 min

The PostgreSQL relational database management system (RDBMS) extends the standard SQL3 it implements with several conveniences for application development. Among the most useful extensions are window functions, which perform a calculation across a set of table rows that are somehow related to the current row.