1,660 views
4 votes
4 votes

Answer given is 3 tables which are $R_1(A, B, C, H)$ , $R_2(G, H)$ , $R_3(D, F, A)$

My doubt is if we join $E_1$ and $E_2$ making a new relation $R_{13}(A,G,B,C,H)$ with AG as key

and $R_2(A,D,F)$. So this can be done with only 2 tables as $E_1$ and $E_2$ are totally participating hence no loss of any data and relation $R_2$ with having AD as key can identify $E_2$.

1 Answer

1 votes
1 votes

From Database Design by Korth

So as per standard books, we need separate tables from E1 and E2.

What is the reason that this is a good design?

For example, if we have dependent as a weak entity and employee as a strong entity. It is possible that for the most employee there is no dependent or say that information is unavailable etc. If we merge the table then we will have many null entries for the dependent column. Also for a particular employee, there may be many dependents for a particular employee, (remember there is no primary key in it before we add the primary key of employee table to it), so if we merge this will become a multivalued attribute which isn't allowed in the relational table. (anyway we will need a separate table for multivalued attribute even if we merge, so merging serves no purpose.)

Related questions

0 votes
0 votes
1 answer
1
Rishav Kumar Singh asked Jan 1, 2019
1,418 views
E and F are multivalued attributes.How many minimum tables which satisfy 1NF ?How many minimum tables which satisfy 2NF ?How many minimum tables which satisfy 3NF ?How ma...
0 votes
0 votes
2 answers
2
Balaji Jegan asked Nov 4, 2018
2,296 views
How many minimum number of tables needed for this Quaternary Relationship?
1 votes
1 votes
1 answer
3
Xylene asked Sep 20, 2017
818 views
1.Minimum number of tables required which satisfies 1NF ?2.Minimum number of tables required which satisfies 3NF ?