1,194 views
0 0 votes

Notice that we can always map 1:1 or l:N relationships in a manner similar
M:N to relationships by using the cross-reference (relationship relation) approach, as we
discussed earlier. This alternative is particularly useful when few relationship instances
exist, in order to avoid null values in foreign keys. In this case, the primary key of the
relationship relation will be only one of the foreign keys that reference the participating
entity relations.
For a 1:N relationship, the primary key of the relationship relation will
be the foreign key that references the entity relation on the N-side. For a 1:1 relationship,
either foreign key can be used as the primary key of the relationship relation as long as no
null entries are present in that relation

In new table created for 1:1 or 1:N , does it include entries for all the entities or only those who are participating in relationship TO AVOID NULLS

ex: Table 1 or table how will it be ?

Please log in or register to answer this question.

Position:
Show:

Related questions

1 1 vote
1 1 answer
1.1k
1.1k views
rexritz asked Aug 29, 2023
1,117 views
Find minimum number of tables needed to represent following ER diagram?This question would have been relatively simple as we would implicitly convert the ERD to 3NF (aske...
5 5 votes
3 3 answers
2.8k
2.8k views
Rohit Gupta 8 asked Nov 18, 2017
2,759 views
Consider the following E-R diagram: What is the minimum relations required which satisfied the 2nd normal form?A)1B)2C)3D)4
3 3 votes
4 4 answers
2.4k
2.4k views
ashish pal asked Nov 18, 2017
2,351 views
3 3 votes
0 0 answers
1.4k
1.4k views
just_bhavana asked Aug 4, 2017
1,425 views
Let R represents an one to many relationship between entities E1 and E2 and the set A, B attributes represent the key of R (A is key for E1 and B is key for E2) then whic...