How to use sum operation in Aggregate Function Using XPath in Xml
In this article I will explain sum operation of aggregate function.
Introduction
The sum operation of aggregate function can be used to add the values given in the function, Or we can say that the given arguments of this function can be added and the sum of all the values.
Syntax
sum((arg1,arg2,arg3,arg4.......))
|
Example
sum ((12,21,56,98,78))
sum (('a','c','g','r','b'))
Output
256
'acgrb'
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here