VAR_SAMP

VAR_SAMP returns the sample variance of a set of numbers after discarding the NULLs in this set.

Syntax

VAR_SAMP ( [DISTINCT | ALL ] expression) OVER (window_clause)

Remarks

Without a window clause, VAR_SAMP is a simple aggregate function.