ARRAY_AVG

Returns the average of elements in an array.

Analyze Syntax

func.array_avg([1, 2, 3, 4])

Analyze Examples

func.array_avg([10, 20, 30])

┌──────┐
 20.0 
└──────┘

SQL Syntax

ARRAY_AVG([1, 2, 3, 4])

SQL Examples

SELECT ARRAY_AVG([10, 20, 30]);

┌──────┐
 20.0 
└──────┘