var_samp()

Returns the sample variance of the values in a field. Accepts measure fields as input. This function does not accept expressions.

var_samp() follows this syntax.

SELECT var_samp(FIELD1, FIELD2)
FROM DATASET;