Posted on 29th March 2024
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)
STILL GOT QUERIES?