Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following data model is designed to hold information relating to Customers Ordering Products. For this scenario we need to define the following facts: These

image text in transcribed
image text in transcribed
The following data model is designed to hold information relating to Customers Ordering Products. For this scenario we need to define the following facts: These facts define the requirements which the Database must meet and should be agreed between the Database User and the Database Designer prior to physical creation. The draft facts have been defined as: The Entities required should include: Customers Orders OrderLines Products Suppliers The Entities are related as follows: A Customer can have one or Many Orders An Order can contain One or Many Products (OrderLines) A Product can be associated with One or Many Orders A Supplier can supply One or Many Products The design allows a Customer to place zero, one or many Orders. An Order can be for one or many Products, and this Product can be associated with zero, one or many Orders (the reason for the Link_Order Product table) Please enforce referential integrity. Once the mentioned tables are created add 5-10 records in each table. When asking questions of the database we may need to know: 1. Which Products have been ordered by a Customer 2. What date/time was a particular Order dispatched 3. How many open Orders do we have in the system 4. What is the Total Order Cost for a certain Order 5. Which Supplier supplies a particular Product 6. How many of a certain Product do we have in stock 7. What is the mark-up on a certain Product The following data model allows these questions to be answered and allows the information contained above to be stored logically and in a structured manner. See Street Addresty Sucher A country d owode t Productos ehnote EN Super yen nouston aced ngad Purchase honderd Ingold Addresade hone The following data model is designed to hold information relating to Customers Ordering Products. For this scenario we need to define the following facts: These facts define the requirements which the Database must meet and should be agreed between the Database User and the Database Designer prior to physical creation. The draft facts have been defined as: The Entities required should include: Customers Orders OrderLines Products Suppliers The Entities are related as follows: A Customer can have one or Many Orders An Order can contain One or Many Products (OrderLines) A Product can be associated with One or Many Orders A Supplier can supply One or Many Products The design allows a Customer to place zero, one or many Orders. An Order can be for one or many Products, and this Product can be associated with zero, one or many Orders (the reason for the Link_Order Product table) Please enforce referential integrity. Once the mentioned tables are created add 5-10 records in each table. When asking questions of the database we may need to know: 1. Which Products have been ordered by a Customer 2. What date/time was a particular Order dispatched 3. How many open Orders do we have in the system 4. What is the Total Order Cost for a certain Order 5. Which Supplier supplies a particular Product 6. How many of a certain Product do we have in stock 7. What is the mark-up on a certain Product The following data model allows these questions to be answered and allows the information contained above to be stored logically and in a structured manner. See Street Addresty Sucher A country d owode t Productos ehnote EN Super yen nouston aced ngad Purchase honderd Ingold Addresade hone

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

Horngrens Accounting, The Managerial Chapters

Authors: Tracie Miller Nobles, Brenda Mattison

13th Edition

0135982138, 9780135982136

More Books

Students also viewed these Accounting questions