In Oracle/PLSQL, the variance function returns the variance of a set of numbers.
Syntax
The syntax for the variance function is:
variance( expression )
expression is a numeric expression.
Applies To
- Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i
For Example
select variance(char_length)
from all_tab_columns;