Aggregates Aggregate

covar_samp()

Returns the sample covariance for non-null pairs in a group.

Arguments & returns

covar_samp(y, x)

Aggregate
Overload link yx Returns
#01 DOUBLEDOUBLE DOUBLE

Example

covar_samp example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example with sample data · Run to view results.