Consider the schema with the tables :
Products

And Family

How can I get the number of products of each family_code ?
This :
SELECT count(family_code)
FROM products;
returns the number of family_code record in the Products table ,how can I alter that
to find each family_code with its number of products ?
Thanks
For instance

1234 has 2
2345 has 1
12345 has 1