Skip to content
ScopeDB Docs
ScopeDB Docs

sum

On this page

Returns the sum of non-NULL records for <expr>. If all records inside a group are NULL, the function returns NULL.

Syntax

sum( <expr> )

Arguments

<expr>

This is an expression that evaluates to a numeric data type.