MySQL COUNT(), AVG() and SUM() Functions
The COUNT()
function returns the number of rows that matches a specified criterion.
COUNT() Syntax
SELECT COUNT(column_name) FROM table_name WHERE condition;
The AVG()
function returns the average value of a numeric column. Continue reading MySQL COUNT(), AVG() and SUM() Functions