Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael R Lundquist
314Assignments
Commits
1f861f7d
Commit
1f861f7d
authored
Jan 30, 2019
by
michael lundquist
Browse files
Adding the practice problems ERD for justLee books.
parent
b6239439
Changes
2
Hide whitespace changes
Inline
Side-by-side
practiceProblems/week1/ERD_PNG.PNG
0 → 100644
View file @
1f861f7d
58.9 KB
practiceProblems/week1/justLee.er
0 → 100644
View file @
1f861f7d
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment