Aggregates
Aggregate
avg()
Calculates the average value for all tuples in x.
Arguments & returns
11 overloadsavg(x)
Aggregate
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example with sample data · Run to view results.
In a query
Find the middle of the story.
Compare the average with the median to see how an unusually large value changes your summary.
Haybarn WASM 1.5.5-rc3 · In your browser
Guide recipe · Run to view results.