
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























1
2
3
Business Problem Study and Analyze w/Team Conceptual Model (EE-R) Logical Model (Relations) Logical Model (3NF Relations) Interviews & Integrated Model Normalization (Three Steps) Transformation (Six Cases) IMPLEMENTATION 4
7
ID Name Phone xx Mike 111 yy Elisa 222
8
9
13
14
15
(implements 1:M relationship between CUSTOMER and ORDER) Combined, these are a composite primary key (uniquely identifies the order line)… individually they are foreign keys (implement M:N relationship between ORDER and PRODUCT) Figure 4-3 Schema for four relations (Pine Valley Furniture Company)
19 Figure 4-6 SQL table definitions
20
21
22
25
EMPLOYEE SSN Name (First, Middle, Last) {Emails} Date of Birth [Age] SSN First Middle Last DoB SSN Email Employee Email
BOOK ISBN Title {Authors} Format (Binding, NumPages, Dimensions, [Weight])
29
30
34 Figure 4-14 Example of mapping a binary 1:1 relationship Often in 1:1 relationships, one direction is optional. Foreign key goes in the relation on the optional side, matching the primary key on the mandatory side 35
ID Name
Majors in Program ID Name Student Student Program MajorsIn
36 Figure 4-13 Example of mapping an M:N relationship a) Completes relationship (M:N) The Completes relationship will need to become a separate relation 37 Figure 4-13 Example of mapping an M:N relationship (cont.) b) Three resulting relations Foreign key (^) Foreign key Composite primary key (CPK)
41
Employee Name DoB
43
BOOK ISBN Title Edition CHAPTER Number Title Has 45