Professional Documents
Culture Documents
Normalization - Answer 1
Normalization - Answer 1
NORMALIZATION
DATABASE DESIGN USING BOTTOM-UP APPROACH
(NORMALIZATION TECHNIQUE)
Prepared By: Nor Mas Aina Md Bohari @ Oct 2017
1
Exercise 1
2
Exercise 1 Full Dependencies / Full Functional Dependencies
has
has EMPLOYEE
PK EmpNo
ASSIGNMENT EmpName
PK,FK ProjNo FK JobCode
PK,FK EmpNo
AssignHours
AssignTotalChg involved in
4
Exercise 2
A book is identified by its ISBN number, and it has a title, a price, and a date
of publication. It is published by a publisher, which has its own ID number
and a name. Each book has exactly one publisher, but one publisher
typically publishes multiple books over time.
5
Exercise 2
INF ISBN Title Price DatePub PubID PubName AutID AutName AutDOB
Transitive Dependency
ERD
2NF ISBN Title Price DatePub PubID PubName BOOK AUTHOR PUBLISHER
PK AutID PK PubID
Transitive Dependency AutName PubName
AutDOB
AutID AutName AutDOB AUTHOR has
/published by
ISBN AutID BOOK_AUTHOR write
BOOK
PK ISBN
3NF PubID PubName PUBLISHER BOOK_AUTHOR Title
ISBN Title Price DatePub PubID PK,FK ISBN Price
BOOK DatePub
PK,FK AutID
AutID AutName AutDOB FK PubID
AUTHOR
ISBN AutID BOOK_AUTHOR written by 6
Exercise 3
Room Utilization Report (Year 2015)
7
Exercise 4
Attribute Name Sample Value Sample Value Sample Value Sample Value Sample Value
PROD_LABEL Rotary sander 0.25-in. drill bit Band saw Rotary sander Power drill
VEND_NAME NeverFail, Inc. NeverFail, Inc. BeGood, Inc. NeverFail, Inc. ToughGo, lnc
QUANT_SOLD 1 8 1 2 1
9
Exercise 6
10