9.22. Window Functions # Window functions provide the ability to perform calculations across sets of rows that are related to the …| PostgreSQL Documentation
4.2. Value Expressions # 4.2.1. Column References 4.2.2. Positional Parameters 4.2.3. Subscripts 4.2.4. Field Selection 4.2.5. Operator Invocations 4.2.6. Function Calls …| PostgreSQL Documentation
9.21. Aggregate Functions # Aggregate functions compute a single result from a set of input values. The built-in general-purpose aggregate functions …| PostgreSQL Documentation