Returns the average of all values in a column.
Categories: | Aggregate |
Descriptive Statistics | |
Alias: | MEAN |
Returned data type: | DOUBLE |
specifies any valid SQL expression.
Data type | BIGINT, DOUBLE, FLOAT, INTEGER, REAL, SMALLINT, TINYINT |
See | <sql-expression> |
FedSQL Expressions |
Statements
|
Results
|
---|---|
select avg(density) from densities; |
172.8324 |
select avg(population) from densities; |
12277544 |