PostgreSQLAggregate FunctionsVAR_POP
STDDEV_SAMP

VAR_POPAggregate Functions

VAR_SAMP

Returns the population variance.

Syntax

VAR_POP(expr)

Example

Enter values below to update the example in real time.

price
pop_var
products
SELECT VAR_POP(price) AS pop_var FROM products;