Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Normalization of similar attributes (same information)

$
0
0
Hello,

if I have a table like this:
school:= SID (PK), ..., room1, room2, room3, ..., roomX

which needs to be normalized, against which NF is this multi-column attribute room ?

I know it should look something like this if there's a 1:m relationship
school:= SID(PK), ...
room:=RID(PK), SID(FK)

but which NF is it breaking?

Edit:
Okay since there is just one primary key in this relation, it can't be the second NF. Neither third, because there is no other attribute, but the pk, which determines the attributes room1, room2, room3.
So this sort of repetition is also against the first normal form?

Viewing all articles
Browse latest Browse all 13329

Trending Articles