Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns the average of all elements in an ARRAY, ignoring NULL values.
array_avg(array(type))
array(type)
mysql> select array_avg([11, 11, 12]); +-----------------------+ | array_avg([11,11,12]) | +-----------------------+ | 11.333333333333334 | +-----------------------+ mysql> select array_avg([11.33, 11.11, 12.324]); +---------------------------------+ | array_avg([11.33,11.11,12.324]) | +---------------------------------+ | 11.588 | +---------------------------------+