Commit 1f861f7d authored by michael lundquist's avatar michael lundquist
Browse files

Adding the practice problems ERD for justLee books.

parent b6239439
# just lee
# Use MS Visio to draw an entity-relationship diagram (ERD) for the JustLee Book database (reference the structure of the database in
# Figure 1-5 in the Ppt presentation above). Draw a fully-labeled ERD that includes entities, labeled relationships
# (indicate whether each relationship is mandatory or optional),
# primary keys, foreign keys, and cardinalities. Follow the format (Crow’s Foot notation) and naming conventions used in class.
[CUSTOMERS]
*CustomerN
Lastname
Firstname
Email
Address
City
State
Zip
Referred
Region
[ORDERS]
*OrderN
+CustomerN
Orderdate
Shipdate
Shipstreet
Shipcity
Shipstate
Shipzip
Shipcost
[ORDERITEMS]
*+OrderN
*+ItemN
ISBN
Quantity
Paideach
[BOOKS]
*ISBN
Title
Pubdate
+PubID
Cost
Retail
Discount
Category
[PROMOTION]
*Gift
Minretail
Maxretail
[PUBLISHER]
*PubID
Name
Contact
Phone
[BOOKAUTHOR]
*+ISBN
*+AuthorID
[AUTHOR]
*AuthorID
Lname
Fname
CUSTOMERS 1--* ORDERS
ORDERS 1--+ ORDERITEMS
BOOKS 1--+ ORDERITEMS
BOOKS 1--+ BOOKAUTHOR
PUBLISHER 1--* BOOKS
AUTHOR 1--* BOOKAUTHOR
#PROMOTION 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment