Data base homework 5
Data base homework 5
A) You split up the phone number because it had more then one instance in the first table or you
could just create another tuple in the original relation so that each line has only one term in
each attribute of each tuple.
B) the table given is in 2n form, the attributes are dependent on the primary key
C) in the third table of the tournament relation you would have to split the table
1 Red 10
1 Green 10
2 Yellow 20
3 Green 15
4 Yellow 17
4 Blue 17
5 Red 22
5-3 split the purchase table into purchase (custID, StoreID) and store location (StoreID, Location)
Cust ID Store ID
1 1
1 3
2 1
3 2
4 3
Store ID Location
1 LA
2 NY
3 SF
5-4 you could split the book table into book table (BookID, GenreID, price) and book genre (GenreID,
Genretype)
5-5 the relation is in 1nf already but some of the aattributes aren’t filled so they would need to be. After
that I would sperate the relation in to three different ones.