COVAR,COVAR_POP

Description

Syntax

double covar(x, y)

Calculate the covariance between x and y.

example

1. mysql> select covar(x,y) from baseall;
2. +---------------------+
3. | covar(x, y)         |
4. +---------------------+
5. | 0.89442719099991586 |
6. +---------------------+
7. 1 row in set (0.21 sec)

keywords

COVAR, COVAR_POP