SQL 手册SQL 函数聚合函数COVAR本页总览COVARCOVARDescriptionSyntax double covar(x, y)计算协方差, 即返回结果为: x和y的协方差。examplemysql> select covar(x,y) from baseall;+---------------------+| covar(x, y) |+---------------------+| 0.89442719099991586 |+---------------------+1 row in set (0.21 sec)keywordsCOVAR