portableSql
Variance Portable SQL Function
Syntax
Variance as N (Expression as N)
Arguments
- ExpressionNumeric
An expression or field. The data type must be N.
Returns
- resultNumeric
Returns the variance of the expression over all rows that satisfy the expression.
Description
Compute the variance of the expression over all rows that satisfy the expression.
Discussion
The Variance function computes the variance of the expression over all rows that satisfy the expression or all rows for a field.
Variance() function executed on the Northwind Access database
SELECT Variance(Quantity) AS Expr1 FROM [Order Details] Order_Details =361.838271213972