+--------+---------------+------+-----+---------+-------+
| AVG(i) | decimal(14,4) | YES
| AVG(d) | decimal(14,4) | YES
| AVG(f) | double
+--------+---------------+------+-----+---------+-------+
From MySQL 5.0.3 to 5.0.6, the first two columns are DECIMAL(64,0).
Precision Math Examples
|
| NULL
|
| NULL
| YES
|
| NULL
1010
|
|
|
|
|
|