aggregation function

noun
UK /ˌæɡ.rɪˈɡeɪ.ʃən ˈfʌŋk.ʃən/
US /ˌæɡ.rɪˈɡeɪ.ʃən ˈfʌŋk.ʃən/

A tool that takes many numbers and combines them into one answer, like adding them all up.

The teacher used an aggregation function to find the total score of the whole class.


OTHER MEANINGS

2. In databases, a function like SUM or COUNT that turns many rows of data into a single value.

The query used an aggregation function to count all the orders.

3. In math, a rule that merges a set of values into one result.

The mean is an aggregation function that averages all the numbers.

4. In programming, a routine that folds a list into a single output.

She wrote an aggregation function to add up the prices in the cart.