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