This Oracle tutorial explains how to use the Oracle/PLSQL VARIANCE function with syntax and examples.
The Oracle/PLSQL VARIANCE function returns the variance of a set of numbers.
The syntax for the VARIANCE function in Oracle/PLSQL is:
A numeric expression that is used in the calculation.
The VARIANCE function returns a numeric value.
The VARIANCE function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle VARIANCE function examples and explore how to use the VARIANCE function in Oracle/PLSQL.
For example: