I want to create an app for searching food recipes and intend to create 3 tables below:
- Recipes(recipeID, recipeName).
- Ingredients(ingredientsID, ingredientsName).
Recipe_ingredients(recipeID,ingredientsID, amount) <= this one is to map two tables above using foreign key.
My question is in this case, if I have 100 recipes, so I need to create 100 recipe_ingredients table, right? on the other hand, in total, I would have to create one recipes table, 1 ingredients table and 100 recipe_ingredients tables, right? or I only need to make a very long recipe_ingredients including all 100 recipes? I know this question might sound silly, but I'm so new to database world. Any help?