Posted on 10th September 2024|411 views
Explain csum function with example
Posted on 10th September 2024| views
In Teradata, csum function is used to calculate the sum of the value expression for each row of the partition. It assumes that rows of the partition are sorted through sort_expression list.
Example:
CSUM(Employ, Emp_salary)