Skip to main content
Computes the population standard deviation of all non-NULL numeric values produced by an expression. The population standard deviation shows how spread out the values in a population are, by measuring the average distance of each value from the population’s mean. For information about the sample standard deviation, which estimates the spread of values across sample rather than the full population, see STDDEV_SAMP.

Syntax

Parameters

Return Type

STDDEV_POP returns a result of type DOUBLE PRECISION.

Special cases

  • If there are no non-NULL input values, the result is NULL.
  • If the input contains an Inf or NaN value, the result will be NaN.

Example

The following example calculates the population standard deviation of five grade values:

Rows: 1Execution time: 6.58ms