34,333
edits
Changes
→Using the MySQL AVG() Function
</pre>
== Using the MySQL AVGCOUNT() Function ==
The MySQL COUNT() function adds the number of rows that match the filter criteria specified in a SELECT statement. For example, to count the number of rows with a price in our sample table: