SUM
Syntax
SUM ( { [ALL] expression } | { DISTINCT column_ref } )
Description
The aggregate function SUM returns the sum of the values in a group. The keyword DISTINCT specifies that the duplicate values are to be eliminated before computing the sum.
Example
SELECT SUM (amount)
FROM orders
WHERE order_date = SYSDATE ;