retagged by
1,139 views
0 0 votes
Do we need to create a separate table for each of the multivalued attribute irrespective of normal form always?

3 Answers

Best answer
2 2 votes

From 1NF to BCNF, two relations are required. One with Primary key and all Single valued attributes and the other with the primary Key and all multi valued attributes.

In 4NF , there are relations for each multi valued attributes.

Ex.   A ia a Entity Set, with key a1 and a2,a3 are single valued attributes and mv1,mv2 are multi valued attributes.

      A( a1,a2,a3,mv1,mv2) 

Converting E-R to Relational Model, 

     A1(a1,a2,a3) and A2(a1,mv1,mv2)

In 4NF

    A1(a1,a2,a3) , A2(a1,mv1) and  A3(a1,mv2)

selected by
0 0 votes
yes .it is mandatory to create a separate table for every  multivalued attribute with primary in the current entity to avoid the heirarchy  in the table.
0 0 votes
Yes it is cumpolsary.

Every tablr needs to follow flat hierarchy that is what 1NF says. So if a table is not in 1NF then it cannot be in any other normal form.

CORRECT ME IF I AM WRONG.
Position:
Show:

Related questions

0 0 votes
1 1 answer
668
668 views
kunal13 asked Jun 3, 2024
668 views
 In (https://gateoverflow.in/219555/number-of-tables) number of tables to be made was 4, merging E1 and E2 in one table, one for R3, and for E3 and one for E4. Now based ...
1 1 vote
1 1 answer
3.1k
3.1k views
aditi19 asked Jun 7, 2019
3,139 views
How to represent referential integrity constraint in ER model?pls explain with diagram
0 0 votes
2 2 answers
1.5k
1.5k views
kd..... asked Apr 26, 2019
1,474 views
Here if check_txn contains its own attributes then during converting into a relational model where does its attributes will be placed either in account side ( strong enti...
1 1 vote
0 0 answers
794
794 views
Hemanth_13 asked Dec 4, 2018
794 views
How to solve these type of questions https://gateoverflow.in/201404/er-diagramCopying the image for quick reference:Minimum no of tables.My approach was:First allocate al...