NULL numeric values produced by an expression.
The sample standard deviation measures how spread out values are in a sample by calculating the square root of the average of squared deviations from the sample mean, using a correction for sample size. For information about the population standard deviation, which estimates the spread of values in the full population, see STDDEV_POP.
Alias: STDDEV
Syntax
Parameters
Return Type
STDDEV_SAMP returns a result of type DOUBLE PRECISION.
Special cases
- If there is at most one non-
NULLinput value, the result isNULL. - If the input contains an
InforNaNvalue, the result will beNaN.
Example
The following example calculates the sample standard deviation of five grade values:Rows: 1Execution time: 6.55ms