SQL Function Reference

AVG
Returns the average value for a column
MySQL
AVG([DISTINCT] expr)
expr
A numeric expression to calculate the average value for
Examples
MySQL
SELECT AVG(amount) FROM Payments;
MySQL
SELECT good,
	AVG(unit_price)
FROM Payments
GROUP BY good;