Question: Please include screenshots and explanations. 1. Design a database diagram for a product orders database with four tables. Indicate the relationships between tables and identify

Please include screenshots and explanations.


1. Design a database diagram for a product orders database with four tables. Indicate the relationships between tables and identify the primary key and foreign keys in each table. Explain your design decisions.

Customers CustomerID CustomerName CustomerAddress CustomerPhone *** Orders OrdersID CustomerID OrderDate ShipAddress ShipDate
2. Add the two tables below into the design for exercise 1. Make additional tables and columns, if necessary. Explain your design decisions.
  OrderLineltems OrderID OrderSequence ProductID Quantity UnitPrice Products ProductID ProductName QtyPerUnit UnitPrice InStock

3. Modify your design for exercise 2 to identify the columns that should be indexed, and explain your decision. 

 

4. Design a database diagram that allows individuals to be assigned membership in one or more groups. Each group can have any number of individuals and each individual can belong to any number of groups. Make additional tables and columns, if necessary. Explain your design decisions. 

 

5. Modify your design for exercise 4 to keep track of the role served by each individual in each group. Each individual can only serve one role in each group. Each group has a unique set of roles that members can fulfill. Make additional tables and columns, if necessary. Explain your design decisions.

Customers CustomerID CustomerName CustomerAddress CustomerPhone *** Orders OrdersID CustomerID OrderDate ShipAddress ShipDate OrderLineltems OrderID OrderSequence ProductID Quantity UnitPrice Products ProductID ProductName QtyPerUnit UnitPrice InStock OnOrder

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!