Introduction
Function AVG
Functions SUM, MAX, MIN
26. Function SUM
Revision

Instruction

Amazing. Another function we'll take a look at is SUM. As you know, SUM finds the sum from all the values. NULL values are ignored: they are not added to the sum.

SELECT SUM(price)
FROM project;

The above query will find the total revenue of the translation agency.

Exercise

Find the total number of words translated in all the projects.

Console

Code editor

Result

TableConsole