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