Postgresql 简明教程
PostgreSQL - Useful Functions
PostgreSQL 内置函数,也称为聚合函数,用于对字符串或数字数据执行处理。
PostgreSQL built-in functions, also called as Aggregate functions, are used for performing processing on string or numeric data.
以下是所有通用 PostgreSQL 内置函数的列表 -
The following is the list of all general-purpose PostgreSQL built-in functions −
-
PostgreSQL COUNT Function − The PostgreSQL COUNT aggregate function is used to count the number of rows in a database table.
-
PostgreSQL MAX Function − The PostgreSQL MAX aggregate function allows us to select the highest (maximum) value for a certain column.
-
PostgreSQL MIN Function − The PostgreSQL MIN aggregate function allows us to select the lowest (minimum) value for a certain column.
-
PostgreSQL AVG Function − The PostgreSQL AVG aggregate function selects the average value for certain table column.
-
PostgreSQL SUM Function − The PostgreSQL SUM aggregate function allows selecting the total for a numeric column.
-
PostgreSQL ARRAY Functions − The PostgreSQL ARRAY aggregate function puts input values, including nulls, concatenated into an array.
-
PostgreSQL Numeric Functions − Complete list of PostgreSQL functions required to manipulate numbers in SQL.
-
PostgreSQL String Functions − Complete list of PostgreSQL functions required to manipulate strings in PostgreSQL.