Title: Translating from ER to Relationship Schema
1Translating from ER to Relationship Schema
- Adapted from Juliana Freire
2The easy part
Entity ? relation with attributes underlined
field is key Relationship -gt relation? special
situations Multi-valued and composite
attributes Weak entity sets ISA
relationships Relations that result from an
entity set and 1tomany relationship
3(No Transcript)
4(No Transcript)
5(No Transcript)
6Translating Many-to-Many
7(No Transcript)
8One to Many
9One to Many answer
10One to- Many
11One to Many with total participation
12Why not a new relation?
13Mapping many to many attribute
14Throw the attributes onto the relationship table
151-to-many relationship with an attribute?
16Add it to the 1 side
17Translating Weak Entity Sets
18Translating ISA relationship as a tier
19Translating ISA one with all
20Which one?
21Participation Constraints
22Splitting tables is always an option
23Sample ERD
24Equivalent Relational Schema
25Translate This
26Translation steps
27(No Transcript)
28(No Transcript)