Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 Orders OrderLineItems CustomerID CustomerName CustomerAddress CustomerPhone . . . OrderID CustomerID OrderDate ShipAddress ShipDate . . . OrderID OrderSequence ProductID Quantity UnitPrice Products ProductID ProductName QtyPerUnit UnitPrice InStock OnOrder . . . 2. Add the two tables below into the design for exercise 1. Create additional tables and columns, if necessary. Explain your design decisions. Shippers Employees ShipperID ShipperName ShipperAddress ShipperPhone . . . Em ployeeID FirstName LastName SSN HireDate . . . 3. Modify your design for exercise 2 to identify the columns that should be indexed, and explain your decisions. 

Note : i need the answer for Q 2 and Q3

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

Modern Datalog Engines In Databases

Authors: Bas Ketsman ,Paraschos Koutris

1st Edition

1638280428, 978-1638280422

More Books

Students also viewed these Databases questions