1
IT360: Applied Database Systems
Slide Set: #4
Normalization (Chapter 3, part 2 in textbook)
Kroenke, Database Processing
Database Design Process Requirements analysis Conceptual design: - - PDF document
IT360: Applied Database Systems Slide Set: #4 Normalization (Chapter 3, part 2 in textbook) Database Design Process Requirements analysis Conceptual design: Entity-Relationship Model Logical design: transform ER model into
Kroenke, Database Processing
Kroenke, Database Processing
Kroenke, Database Processing
Kroenke, Database Processing
4 7 mat@usna.edu Matt Johnson 152 6 7 12 Company 6 4 2 Wing bred@usna.edu Bob Doe 312 jdoe@usna.edu Jane Doe 673 jsmith@usna.edu John Smith 190 Email FirstName LastName Number
Rule: All mids with same Company have the same Wing (Company Wing) Problems due to data redundancy?
Kroenke, Database Processing
Kroenke, Database Processing
4 7 mat@usna.edu Matt Johnson 152 6 7 12 Company 6 4 2 Wing bred@usna.edu Bob Doe 312 jdoe@usna.edu Jane Doe 673 jsmith@usna.edu John Smith 190 Email FirstName LastName Number 4 7 mat@usna.edu Matt Johnson 152 6 7 12 Company 6 5 2 Wing bred@usna.edu Bob Doe 312 jdoe@usna.edu Jane Doe 673 jsmith@usna.edu John Smith 190 Email FirstName LastName Number Kroenke, Database Processing
4 7 mat@usna.edu Matt Johnson 152 6 7 12 Company 6 4 2 Wing bred@usna.edu Bob Doe 312 jdoe@usna.edu Jane Doe 673 jsmith@usna.edu John Smith 190 Email FirstName LastName Number 7 mat@usna.edu Matt Johnson 152 6 7 12 Company bred@usna.edu Bob Doe 312 jdoe@usna.edu Jane Doe 673 jsmith@usna.edu John Smith 190 Email FirstName LastName Number 12 7 6 Company 2 4 6 Wing
Disadvantage?
Kroenke, Database Processing
Kroenke, Database Processing
Kroenke, Database Processing
Kroenke, Database Processing
Kroenke, Database Processing
Assuming data is representative, determine the FD
Lefferton IFP Janet Jefferson 129722 Skapanski IFA Michael Mikalson 116644 Lewis IEA Sarah Thomas 111342 Lefferton IFP Sarah Thomas 129832 Lewis IEA Thomas Thomas 121198 Jones IFP John Johnson 120908 IFP IFA IFP Major Lefferton Skapanski Jones Advisor Bob Doe 123116 Jane Doe 117862 John Smith 112368 FirstName LastName Alpha Kroenke, Database Processing
Kroenke, Database Processing
Kroenke, Database Processing
Kroenke, Database Processing
Kroenke, Database Processing
key)
determinant is a (candidate) key “I swear to construct my tables so that all nonkey columns are dependent on the key, the whole key and nothing but the key, so help me Codd.”
4 7 mat@usna.edu Matt Johnson 152 6 7 12 Company 6 4 2 Wing bred@usna.edu Bob Doe 312 jdoe@usna.edu Jane Doe 673 jsmith@usna.edu John Smith 190 Email First Name Last Name Number
Kroenke, Database Processing
Kroenke, Database Processing
10 6 QUIZ1 129936 10 8 QUIZ2 129936 20 20 QUIZ3 129936 10 6 QUIZ1 122422 10 7 QUIZ2 122422 20 18 QUIZ3 122422 20 2 QUIZ3 129722 10 2.5 QUIZ2 129722 10 10 QUIZ1 129722 PointsTotal Points Assignment Alpha
Kroenke, Database Processing
(Alpha, Assignment)
Assignment
Kroenke, Database Processing
6 QUIZ1 129936 8 QUIZ2 129936 20 QUIZ3 129936 6 QUIZ1 122422 7 QUIZ2 122422 18 QUIZ3 122422 2 QUIZ3 129722 2.5 QUIZ2 129722 10 QUIZ1 129722 Points Assignment Alpha QUIZ3 QUIZ2 QUIZ1 Assignment 20 10 10 PointsTotal
Kroenke, Database Processing
Kroenke, Database Processing
Kroenke, Database Processing
Kroenke, Database Processing
Kroenke, Database Processing
Kroenke, Database Processing
Annapolis USNA Ric Crabbe 6 Ithaca Cornell Jane Doe 5 Annapolis USNA Chris Brown 4 Ithaca Ithaca College Matt Johnson 3 Boston MIT John Smith 2 Ithaca Cornell John Smith 1 MainCampus University Name ID
Kroenke, Database Processing