Reference Guide > TDV Support for SQL Functions > TDV-Supported Analytical Functions > SUM
 
SUM
SUM returns the sum of values of expression.
Syntax
SUM ( [DISTINCT | ALL ] expression) OVER (window_clause)
Remarks
Without a window clause, SUM is a simple aggregate function. (See SUM.)