The avg() aggregate computes the average (mean)
numeric value for all non-NULL
values. The aggregate attempts to convert any text or
BLOB values into a numeric value. If a conversion is not
possible, those rows will be counted with a value of 0.number
If all the
values are NULL, number
avg() will return a NULL.