Download presentation
Presentation is loading. Please wait.
1
Translating from ER to Relationship Schema Adapted from Juliana Freire
2
The easy part Entity relation with attributes underlined field is key Relationship -> relation? special situations – Multi-valued and composite attributes – Weak entity sets – ISA relationships – Relations that result from an entity set and 1tomany relationship
6
Translating Many-to-Many
8
One to Many
9
One to Many answer
10
One – to- Many
11
One to Many with total participation
12
Why not a new relation?
13
Mapping many to many attribute
14
Throw the attributes onto the relationship table
15
1-to-many relationship with an attribute?
16
Add it to the 1 side
17
Translating Weak Entity Sets
18
Translating ISA relationship – as a tier
19
Translating ISA – one with all
20
Which one?
21
Participation Constraints
22
Splitting tables is always an option
23
Sample ERD
24
Equivalent Relational Schema
25
Translate This
26
Translation steps
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.