Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Theory And Applications 27th Australasian Database Conference Adc 20 Sydney Nsw September 28 29 20 Proceedings Lncs 9877

Authors: Muhammad Aamir Cheema ,Wenjie Zhang ,Lijun Chang

1st Edition

3319469215, 978-3319469218

More Books

Students also viewed these Databases questions

Question

What is learning, and what are some basic forms of learning?

Answered: 1 week ago