var_samp
aggregate function
Returns the sample variance calculated from values of a group.
Arguments
expr
: An expression that evaluates to a numeric.cond
: An optional boolean expression filtering the rows used for aggregation.
Returns
A DOUBLE.
If DISTINCT
is specified the function operates only on a unique set of expr
values.
This function is a synonym for variance aggregate function.