In: Computer Science
Consider the situation where entity E1 and E2 are connected by a one-to-one relationship R. Choose all the TWO correct answers from the following list so the chosen answers can describe how to transform E1, E2 and R into a relational schema diagram _________________________.
Here the relationship between E1 and E2 is one to one.
For converting one to one relationship, either key of one entity can be added as foreign key in to schema of other entity.
Also for both the entity, one table will be created for each entity. So total #of table we have is 2 where one table contains primary key of other entity.
If participation of both the entity is total then either entity's key can be selected to be placed as foreign key into other. If participation of suppose E1 is total, then include primary key of E2 into E1 is preferred. No compulsion though. Here since nothing is mentioned about participation, either entity can be chosen.
So the correct option is:
no need to create a table for R, and a foreign key can be appended into either T1 or T2.
If you have any questions comment down. Please don't simply downvote and leave. If you are satisfied with answer, please? upvote thanks