What is the diffrence between the two functions: Sum / Aggregate?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can essentially think of Sum as one particular type of Aggregate, but there are many other types.
Some examples of Aggregate might be to multiply every single value, or to add strings rather than numbers.
The reason that Sum exists in addition to Aggregate is simply that Sum is one of the more common types of Aggregate functions, so it was worthwhile to add an additional function for that case.