COVAR,COVAR_POP
COVAR,COVAR_POPβ
Descriptionβ
Syntaxβ
double covar(x, y)
Calculate the covariance between x and y.
exampleβ
mysql> select covar(x,y) from baseall;
+---------------------+
| covar(x, y) |
+---------------------+
| 0.89442719099991586 |
+---------------------+
1 row in set (0.21 sec)
keywordsβ
COVAR, COVAR_POP