635 views
0 votes
0 votes
In ER-DIAGRAM to Relation conversion :

I can’t understand how to handle the following points

How to deal with one-to-one relationship with any of the entity having total participation in relation?

How to deal with One-to-many relationship with an entity having total participation or both having total participation in the relationship?

How to deal with many-to-many relationship with total participation of one or both the entities in relation?

1 Answer

0 votes
0 votes

1.Only Partial participations-

  • One-One:2 Tables, Merge Relation to any of the side.
  • Many-One or One-Many:2 Tables, Merge Relation to Many side.
  • Many-Many:3 tables (separate table for relation)

2. Any one of the  side has full participation-

  • Full participation on Many Side: 2 Tables
  • Full Participation on one side: 1 Table

3.Both Side full participation-

  • Always one table irrespective of Cardinality.

Related questions

0 votes
0 votes
0 answers
1
practicalmetal asked Oct 26, 2023
378 views
Can someone please provide me with the correct explanation for this question
1 votes
1 votes
1 answer
2
aditi19 asked Jun 7, 2019
1,894 views
How to represent referential integrity constraint in ER model?pls explain with diagram
0 votes
0 votes
2 answers
3
bts1jimin asked Jan 16, 2019
582 views
Answer has R4 and E2 merged, I cant visualize how? what will be primary key? What will be other attributes?