0 votes 0 votes Minimum relations required which satisfies the 2nd normal from is _____ Shadan Karim asked Dec 16, 2018 Shadan Karim 641 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Priyanka Agarwal commented Dec 16, 2018 reply Follow Share 4..... 0 votes 0 votes Shadan Karim commented Dec 16, 2018 reply Follow Share @Priyanka Agarwal please explain 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes it is many to many relationship so min 3 tables are required E1(A,B,C). Key:AC E2(DEF) Key:D R(AD) key:AD here A in R is a foreign key refering to A but in A key is AC so here is a problem due to multivalued attrbute in E1 so we need to decompose E1 now E1(AB) Key A E2((DEF) Key D R(AD) key AD And E(AC) Key AC so total 4 tables are required Priyanka Agarwal answered Dec 16, 2018 Priyanka Agarwal comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Shobhit Joshi commented Dec 17, 2018 reply Follow Share @nishant_magarde @Priyanka Agarwal $R$ can be merged with any any of $E_{1}$ or $E_{2}$ as there is total participation 0 votes 0 votes Priyanka Agarwal commented Dec 17, 2018 reply Follow Share yes only 3 tables are required (AB) (AC) (DEF) 0 votes 0 votes Tarun Kalra commented Dec 17, 2018 reply Follow Share 4 is correct. you cannot merge table AD on either side whether it's total participation on both sides or not. They asked for 2NF not 1NF. For 1NF it's 2 table only, 1 for multivalued attribute and 1 for R mergin with E1 and E2 in 1 table. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes C is a multi-valued attribute, so 1 separate table[A,C] is needed for that. Then, we have total participation of E1 and E2 on R, also, R is many to many, now one table is needed[A,B,D,E,F]. IN TOTAL, 2 TABLES ARE NEEDED. nishant_magarde answered Dec 17, 2018 • edited Dec 17, 2018 by nishant_magarde nishant_magarde comment Share Follow See all 4 Comments See all 4 4 Comments reply nishant_magarde commented Dec 17, 2018 i edited by nishant_magarde Dec 17, 2018 reply Follow Share Please confirm the answer. some are saying 3 or 4. I am confused. Whether I am correct or not. 0 votes 0 votes Shobhit Joshi commented Dec 17, 2018 reply Follow Share @nishant_magarde in your table [A,B,D,E,F] the primary key is $AD$ and there is a partial dependency $A \rightarrow B$. So, it is not in $2\,NF$ the answer should be $3$ as we have to split this table [A,B,D,E,F] into $2$ tables. 0 votes 0 votes nishant_magarde commented Dec 17, 2018 reply Follow Share Got it. So, what are the three tables. one is AC And, others are....? 0 votes 0 votes gauravkc commented Dec 17, 2018 reply Follow Share 3 must be the answer. The relationship can be merged to any side forming 1 table. The another entity will have separate table. And multi-valued attribute will form one table. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes 4 is correct ! C is a multivalued attribute hence A->C is one relation A->B is another And D ->EF AD for relation R Rishab Rao answered Dec 17, 2018 Rishab Rao comment Share Follow See all 0 reply Please log in or register to add a comment.