ARRAY_STDDEV_POP()

All functions > ARRAY > ARRAY_STDDEV_POP()

Returns the population standard deviation (divide by N) of numeric array elements as a DOUBLE.

Signatures

Returns: Population standard deviation

ARRAY_STDDEV_POP(array: ARRAY<T>) → DOUBLE
sql
ParameterTypeRequiredDescription
arrayARRAY<T>YesNumeric array

Notes

  • Ignores NULL elements
  • Returns NULL for an empty array or an array of only NULLs

See also

Examples

FeatureQL
SELECT
    f1 := ARRAY_STDDEV_POP(ARRAY[2, 4, 4, 4, 5, 5, 7, 9]) -- Population stddev
;
Result
f1 VARCHAR
2.0

Last update at: 2026/05/26 17:22:09