Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

AVG

This section contains reference documentation for the AVG function.

Returns the average of values for a numeric column in a group as Double.

Signature

AVG(colName)

Usage Examples

These examples are based on the Batch Quick Start.

select AVG(hits) AS value
from baseballStats
value

27.254965229242498

Last updated

Was this helpful?