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