Skip to main content
Returns the standard deviation of an expression. Since v2.5.10, this function can also be used as a window function.

Syntax

Parameters

expr: the expression. If it is a table column, it must evaluate to TINYINT, SMALLINT, INT, BIGINT, LARGEINT, FLOAT, DOUBLE, or DECIMAL.

Return value

Returns a DOUBLE value.

Examples

Calculate the standard deviation of col0 and col1.

keyword

STD