Skip to content

Returns the population covariance of two expressions.

func.covar_pop(get_column(table, 'y'), get_column(table, 'x'))
func.covar_pop(get_column(table, 'height'), get_column(table, 'weight'))
┌────────┐
102.46
└────────┘
COVAR_POP(<y>, <x>)
SELECT COVAR_POP(height, weight) FROM measurements;
┌────────┐
102.46
└────────┘