Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Below is the use case for a Recipes database, which is used by restaurant owners to record recipes and their ingredients. Information about ingredients used
Below is the use case for a Recipes database, which is used by restaurant owners to record recipes and their ingredients. Information about ingredients used are stored in the database, including the name and price per kilogram of each ingredient Because some ingredients have the same or similar names, a description of each ingredient is also included. Information is stored about recipes, including the name of the recipe, the author of the recipe, the time taken to prepare and the method . . The ingredients required for each recipe are also stored, including the quantity of each ingredient used in the recipe. Each recipe may contain many ingredients, and an ingredient is listed only once for each recipe. A) Based on the use case for the Recipes database complete the relational model below Recipes (recipelD, name, author, preparationTime, method) Contents (recipelD, ingredientID_) Ingredients ( , name, description, price) Fill the above blanks using one of the options : Ingredient D , recipe ID , name, contents, quantity, Price B) How many of each of the following are there in the relational schema? Attributes that cannot be NULL as they participate in a Primary Key: Attributes that are subject to a Referential Integrity Constraint:_
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started