MySQL Select Count Group

MySQL command to count the number of entries for a group

SELECT field_to_count, count(id) FROM `table_name` group by field_to_count

Post new comment

The content of this field is kept private and will not be shown publicly.