COVAR_POP
Returns the population covariance for non-NULL pairs across all input values.
Syntax
COVAR_POP(expression1 numeric, expression2 numeric) → double
expression1: An expression that evaluates to a numeric type. This parameter is the dependent value.
expression2: An expression that evaluates to a numeric type. This parameter is the independent value.
Examples
Usage Note
This function supports the use of ALL
and DISTINCT
:
SELECT COVAR_POP( [ { ALL | DISTINCT } ] expression1, expression2)
Last updated
Was this helpful?