Applies to: Databricks SQL Databricks Runtime
Returns the sample standard deviation calculated from the values within the group.
stddev ( [ALL | DISTINCT] expr ) [FILTER ( WHERE cond ) ]
This function can also be invoked as a window function using the
expr: An expression that evaluates to a numeric.
cond: An optional boolean expression filtering the rows used for aggregation.
DISTINCT is specified the function operates only on a unique set of
This function is a synonym for std aggregate function.