Skip to content

VAR_POP

  • expression: This represents the set of values, a column in the table, for which the population variance is calculated.
SELECT VAR_POP(column_name) FROM table_name;
0.25

The VAR_POP() function in SQL is used to return the population variance of a set of values. The example code would return the population variance of the specified column values from the specified table. The output shows a sample return value of the variance.