Chapter Five – Database Design
ANSWERS TO JAMES RIVER JEWELRY PROJECT QUESTIONS
[NOTE: The James River Jewelry Project Questions are available online for Appendix D,
which can be downloaded from the textbook’s Web site:
www.pearsonhighered.com/kroenke. The solutions for these questions will be included
in the Instructor’s Manual for each chapter]
Convert the data model you constructed for James River Jewelry in part C of the James
River Jewelry Project Questions for Chapter 4 that is online in Appendix D (or for an
equivalent data model that your instructor provides for you to use) into a relational
database design for James River Jewelry. Document your database design as follows.
A. Specify tables, primary keys, and foreign keys. Using Figures 5–26 and 5-28 as guides,
specify column properties.
See the E-R diagram in part D. See MySQL Workbench file DBC-e08-CH05-JRJ.mwb.
Discuss such possibilities with your students.
CUSTOMER (CustomerID, LastName, FirstName, Phone, EmailAddress)
AWARD (AwardID, CustomerID, AwardCountNumber, AwardTotalPreTaxAmount,
isAwardComplete, isAwardUsed)
PURCHASE (InvoiceNumber, CustomerID, AwardID, InvoiceDate, PreTaxAmount,
isAwardPurchase, PreTaxAwardCreditAmout, AdjustedPreTaxAmount)