81
MySQL COUNT() Function
The count() is a Math function of MySQL. This function is used to get the total count for a particular column of the table.
Syntax
Parameter
column_name: It is the column name to get the count.
table_name: It is the name of the table in which column name is present.
Returns
This function returns the count of an expression.
Example 1
Output:
Example 2
Output:
Next TopicMySQL Math