Professional Documents
Culture Documents
DBMT HW 3
DBMT HW 3
Name: ……KARTHIKEYAN…RAVICHANDRAN…………………………………………
1
Part 2: Normalization
1. Given the dependency diagram shown in Figure 1 below, answer items 1a-1c:
C1 C2 C3 C4 C5
b. Create a database whose tables are at least in 2NF, showing the dependency diagrams for
each table.
C1 C2
Primary Key: C1
Foreign Key: None
Normal Form: 3NF
2
C1 C3
C2 C4 C5
c. Create a database whose tables are at least in 3NF, showing the dependency diagrams for
each table.
C1 C2
Primary Key : C1
Foreign Key : None
Normal Form : 3NF
C1 C3
C2 C4
C4 C5
2. The dependency diagram in Figure 2 below indicates that authors are paid royalties for each
book that they write for a publisher. The amount of the royalty can vary by author, by book,
and by edition of the book.
3
a. Identify and discuss each of the indicated dependencies.
b. Based on the dependency diagram, create a database whose tables are at least in 2NF,
showing the dependency diagram for each table.
4
For table 1: Primary Key: ISBN ; Form : 2NF
For table 2: Primary Key: Author_Num ; Form : 3NF
For table 3: Primary Key: ISBN+Author_Num ; Form : 3NF
c. Create a database whose tables are at least in 3NF, showing the dependency diagram for each
table.
5
For table 1: Primary Key: ISBN ; Form : 3NF
For table 2: Primary Key: Author_Num ; Form : 3NF
For table 3: Primary Key: ISBN+Author_Num ; Form : 3NF
For table 4 : Primary Key: BookTitle ; Form : 3NF