Edit this page on GitHub Documentation SQL Queries Functions & Operators sum Returns the sum of all values in the result set. sum(expr)