Presentation is loading. Please wait.

Presentation is loading. Please wait.

Translating from ER to Relationship Schema Adapted from Juliana Freire.

Similar presentations


Presentation on theme: "Translating from ER to Relationship Schema Adapted from Juliana Freire."— Presentation transcript:

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

3

4

5

6 Translating Many-to-Many

7

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

27

28


Download ppt "Translating from ER to Relationship Schema Adapted from Juliana Freire."

Similar presentations


Ads by Google