1,428 views
1 votes
1 votes
R is relationship with 1 : 1 cardinality, 30% participation at E1 end 70%
participation at E2 end which is the best possible design?
a. E1 and E2 kept separate with foreign key at E1 end
b. E1 and E2 kept separate with foreign key at E2 end
c. E1 and E2 kept separate with foreign key at E1 as well as E2
d. E1 and E2 merges into a single table with no foreign key

1 Answer

1 votes
1 votes

To me I think now

Because of 1 to 1 mapping it can merges into a single table . No need for FK .If we do then we have a problem to select primary key . So , E1 and E2 kept separate , and we will foreign key at E2 because 70% participation at E2 ,because of that null value at E2 will be less .

In case of E2 if i choose foreign key at E1 then participation at E1 30% , so the Null values will be increased .

Option B is correct .

might be wrong but to me i think I`m right :P .

edited by

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
2
0 votes
0 votes
1 answer
4
gauravkumawat asked Jun 13, 2023
940 views
please solve in paper formet Explain the properties of B-Tree Also Construct B+ tree with order P=410,5,30,40,20,17,90,45,93,60,20,50,29