Question: Suppose that you have designed a database for Morgan Importing that has the following tables: EMPLOYEE (EmployeeID, LastName, FirstName, Department, Phone, Fax, EmailAddress) STORE (StoreName,
Suppose that you have designed a database for Morgan Importing that has the following tables:
EMPLOYEE (EmployeeID, LastName, FirstName, Department, Phone, Fax, EmailAddress)
STORE (StoreName, City, Country, Phone, Fax, EmailAddress, Contact)
ITEM (ItemID, StoreName, PurchasingAgentID, PurchaseDate, ItemDescription, Category, PriceUSD)
SHIPPER (ShipperID, ShipperName, Phone, Fax, EmailAddress, Contact)
SHIPMENT (ShipmentID, ShipperID, PurchasingAgentID, ShipperInvoiceNumber, Origin, Destination, ScheduledDepartureDate, ActualDepartureDate, EstimatedArrivalDate)
SHIPMENT_ITEM (ShipmentID, ShipmentItemID, ItemID, InsuredValue)
SHIPMENT_RECEIPT (ReceiptNumber, ShipmentID, ItemID, ReceivingAgentID, ReceiptDate, ReceiptTime, ReceiptQuantity, isReceivedUndamaged, DamageNotes)
4. State relationships as implied by foreign keys and specify the maximum and minimum cardinality of each relationship. Justify your choices.
5. Explain how you will enforce the minimum cardinalities in your answer to question 4. Use referential integrity actions for required parents, if any. Refer to your book diagram as a boilerplate for required children, if any.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
