VAR (VARIANCE) returns variance of expr. Virtuoso calculates the variance of expr as follows: 0 if the number of rows in expr = 1; VAR_SAMP if the number of rows in expr > 1
The function returns a value of type NUMERIC. If the function is applied to an empty set, then it returns null.