top of page
CerebroSQL

MySQL: 

STDDEV_POP

Syntax:
STDDEV_POP(expr) [over_clause]

Returns the population standard deviation of expr (the square root of
VAR_POP()). You can also use STD() or STDDEV(), which are equivalent
but not standard SQL.

If there are no matching rows, STDDEV_POP() returns NULL.

This function executes as a window function if over_clause is present.
over_clause is as described in
https://dev.mysql.com/doc/refman/8.0/en/window-functions-usage.html.

URL: https://dev.mysql.com/doc/refman/8.0/en/aggregate-functions.html

Example

bottom of page