Database Tables Indicate TH: - e Keys Explain
Database Tables Indicate TH: - e Keys Explain
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
OrderiD
CustomeriD
OrderDate
ShipAddress
ShipDate
Orderlineltems
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
ShipperiD
ShipperName
ShipperAddress
ShipperPhone
Employees
EmployeeiD
FirstName
LastName
SSN
HireDate