MySQLAggregate 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.

salary
salary_variance
employees
SELECT ROUND(VAR_POP(salary), 2) AS salary_variance
FROM employees;