Returns the statistical variance of all values in the given expression.
VAR(expression)
float
If VAR is used on all items in a SELECT statement, each value in the result set is included in the calculation. VAR can be used with numeric columns only. Null values are ignored.
This example returns the variance for all royalty values in the titles table.
USE pubs
SELECT VAR(royalty)
FROM titles