Reference Guide > TDV Support for SQL Functions > TDV-Supported Analytical Functions > COVAR_SAMP
 
COVAR_SAMP
COVAR_SAMP returns the covariance of a sample set of number pairs.
Syntax
COVAR_SAMP (expression1, expression2) OVER (window_clause)
Remarks
Without a window clause, COVAR_SAMP is a simple aggregate function.