STDDEV_POP
Syntax
Description
Returns the population standard deviation of expr
(the square root of[VAR_POP()](var_pop.md)
). You can also use [STD()](std.md)
or[STDDEV()](stddev.md)
, which are equivalent but not standard SQL.
It is an aggregate function, and so can be used with the GROUP BY clause.
STDDEV_POP() can be used as a window function.
STDDEV_POP() returns NULL
if there were no matching rows.
Examples
As an aggregate function:
As a window function:
See Also
STD (equivalent, non-standard SQL)
STDDEV (equivalent, Oracle-compatible non-standard SQL)
VAR_POP (variance)
STDDEV_SAMP (sample standard deviation)
This page is licensed: GPLv2, originally from fill_help_tables.sql
Last updated
Was this helpful?