MySQL COUNT() FunctionThe count() is a Math function of MySQL. This function is used to get the total count for a particular column of the table. SyntaxParametercolumn_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. ReturnsThis function returns the count of an expression. Example 1Output: ![]() ![]() Example 2Output: ![]() ![]()
Next TopicMySQL Math
|