rigobertocorrales
Technical User
Hi:
I have the following table containing ingredients of products:
IngredientsInProducts(ProductId, Ingredient_Category, Ingredient_Id) The 3 attributes are PK
How could I count all the ingredients (Ingredient_Category and Ingredient_Id) that appear on the table?. Eg
-----------------------------------------------
Ingredient_Category --- Ingredient_Id --- Count
01 001 10
02 099 3
...
-----------------------------------------------
Thanks
I have the following table containing ingredients of products:
IngredientsInProducts(ProductId, Ingredient_Category, Ingredient_Id) The 3 attributes are PK
How could I count all the ingredients (Ingredient_Category and Ingredient_Id) that appear on the table?. Eg
-----------------------------------------------
Ingredient_Category --- Ingredient_Id --- Count
01 001 10
02 099 3
...
-----------------------------------------------
Thanks