Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a new database called Recipes. Create a new table ( Area ) to hold the different supermarket areas from which you can buy ingredients.

Create a new database called Recipes.

Create a new table (Area) to hold the different supermarket areas from which you can buy ingredients. When you have defined the fields, enter data as shown below:

AreaID

AreaName

1

Meat

2

Dairy

3

Baking

4

Fruit and Vegetables

5

Local Market

6

Grocery

7

Other

Close this table down, then create another table called Recipe to hold your favourite recipes (if you haven't got any, make them up!). Here is what this might look like:

RecipeID

RecipeName

1

Sponge Cake

2

Lasagne

Finally, create and populate a table to hold the ingredients (Ingredient) that you need to buy - this might look like this:

IngredientID

IngredientName

AreaID

RecipeID

Quantity

1

Eggs

Baking

Sponge Cake

2

2

Flour

Baking

Sponge Cake

4 oz

3

Margarine

Dairy

Sponge Cake

4 oz

4

Sugar

Baking

Sponge Cake

4 oz

5

Mince

Meat

Lasagne

0.5 lb

Apply referential integrity to your relationships: Save your Database

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

More Books

Students also viewed these Databases questions

Question

When is it appropriate to use a root cause analysis

Answered: 1 week ago