MySQL Select avg
SELECT AVG() The FROM syntax is used to average the statistics from the data table.
SELECT AVG(column) FROM tb_name
The SQL syntax is used to count the average number of a numeric type field. AVG() can not be multiple fields, while strings and other types can be executed, but they are meaningless.
SELECT AVG(age) FROM userResult