Database test content statistics userName=" fight"a total of several items.
:
:
data shows SQL COUNT Grammar:
SQL COUNT (DISTINCT column_name) Syntax
COUNT (DISTINCT column_name) function returns the number of different values for the specified column:
SELECT COUNT (DISTINCT column_name) FROM table_name
Why can"t I display the data I need? I want to get the statistical data back to the front end for judgment. Which experienced friend can advise me as a beginner in sql and PHP