FunctionsAggregatesumOn this pagesum Returns the sum of non-NULL records for <expr>. If all records inside a group are NULL, the function returns NULL. Syntax sum( <expr1> ) Arguments <expr> This is an expression that evaluates to a numeric data type.