0% found this document useful (0 votes)
25 views6 pages

DBAdminFund SA 4.1 Key

The document discusses normalization of databases and provides examples of tables in first, second, and third normal form. It includes sample data and instructions for normalizing tables to each form. Key aspects covered are the reasons for normalization, the five most common normalization forms, and normalizing a database to third normal form.

Uploaded by

Carlos Díaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views6 pages

DBAdminFund SA 4.1 Key

The document discusses normalization of databases and provides examples of tables in first, second, and third normal form. It includes sample data and instructions for normalizing tables to each form. Key aspects covered are the reasons for normalization, the five most common normalization forms, and normalizing a database to third normal form.

Uploaded by

Carlos Díaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

98-364 DATABASE ADMINISTRATION FUNDAMENTALS

STUDENT ACTIVITY 4.1 KEY

MTA Course: Database Administration Fundamentals


Topic: Understand normalization
File name: DBAdminFund_SA_4.1_Key

Lesson Objective:
4.1: Understand normalization. This objective may include but is not limited to: understanding the reasons for normalization, the five most common
levels of normalization, how to normalize a database to third normal form.
98-364 DATABASE ADMINISTRATION FUNDAMENTALS

Create tables as indicated here for each of the first three normalization forms.
credit credit
Start Start costs cost fees per fees per
Last First Birthday Tuition Sex Subject Room Subject2 Room2 hours hours
Time 1 Time 2 class1 class2 hour1 hour2
class 1 class 2
1:00 Social 6:00
Holt Holly 10/5/1990 10000 F English Hall A 4576c 480 700 120 4 5 140
PM Studies PM
3:00 Social 6:00
Raheem Michael 6/18/1990 4000 M CIS Hall 12 4576c 600 700 150 5 5 140
PM Studies PM
3:00 Social 6:00
Raheem Michael 6/18/1990 4000 M CIS Hall 12 4576c 600 700 150 5 5 140
PM Studies PM
Social 6:00 1:00
Jacobsen Lola 8/7/1997 9000 F 4576c English Hall A 700 480 140 5 4 120
Studies PM PM
1:00 4:00
Higa Sidney 11/21/2000 12000 F English Hall A Math 2354c 480 1404 120 4 6 234
PM PM
1:00 4:00
Johnson Brian 4/15/1989 500 M English Hall A Math 2354c 1404 1701 234 6 3 567
PM PM
3:00 Social 6:00
Raheem Michael 6/18/1990 4000 M CIS Hall 12 4576c 600 700 150 5 5 140
PM Studies PM
2:00 Social 6:00
Bentley Sean 2/17/1990 350 M Science Hall B 4576c 1701 700 567 3 5 140
PM Studies PM
Social 6:00 3:00
Price Jeff 10/5/1990 2000 M 4576c CIS Hall 12 700 600 140 5 5 150
Studies PM PM
3:00 Social 6:00
Raheem Michael 6/18/1990 4000 M CIS Hall 12 4576c 600 700 150 5 5 140
PM Studies PM
Social 6:00 3:00
Ashton Chris 1/1/1951 50 M 4576c CIS Hall 12 480 1404 120 4 6 234
Studies PM PM
98-364 DATABASE ADMINISTRATION FUNDAMENTALS

Use the First Normal Form (1NF) with the previous table. Create separate tables for each group of related data and identify each row with a unique
column (the primary key). (There are other possible solutions.)
StudentID Last First Birthday Tuition Sex Subject Room S_Time 1 Subject 2 Room 2 S_Time 2 Costs 1 Cost 2
Social
1 Holt Holly 10/5/1990 10000 F English Hall A 1:00 PM 4576c 6:00 PM 480 700
Studies
Social
2 Raheem Michael 6/18/1990 4000 M CIS Hall 12 3:00 PM 4576c 6:00 PM 600 700
Studies
Social
3 Jacobsen Lola 8/7/1997 9000 F 4576c 6:00 PM English Hall A 1:00 PM 700 480
Studies
4 Higa Sidney 11/21/2000 12000 F English Hall A 1:00 PM Math 2354c 4:00 PM 480 1404
5 Johnson Brian 4/15/1989 500 M English Hall A 1:00 PM Math 2354c 4:00 PM 1404 1701
Social
6 Bentley Sean 2/17/1990 350 M Science Hall B 2:00 PM 4576c 6:00 PM 1701 700
Studies
Social
7 Price Jeff 10/5/1990 2000 M 4576c 6:00 PM CIS Hall 12 3:00 PM 700 600
Studies
Social
8 Ashton Chris 1/1/1951 50 M 4576c 6:00 PM CIS Hall 12 3:00 PM 480 1404
Studies

Student_Info *Primary Keys


98-364 DATABASE ADMINISTRATION FUNDAMENTALS

Start credit
Class_ID Subject Room fees
Time hours
1 English Hall A 1:00 PM 4 120
2 CIS Hall 12 3:00 PM 5 150
Social
3 4576c 6:00 PM 5 140
Studies
4 Science Hall B 2:00 PM 4 567
5 Math 2354c 4:00 PM 6 234

Class_Info *Primary Keys


98-364 DATABASE ADMINISTRATION FUNDAMENTALS

Use the Second Normal Form (2NF) with the previous table. Remove subsets of data that apply to multiple rows of a table and place them in separate
tables, and create relationships between these new tables through the use of foreign keys.
Student_ID Last First Birthday Tuition Sex class1 class2 Costs 1 Costs 2
1 Holt Holly 10/5/90 10000 F 1 3 480 700
2 Raheem Michael 6/18/1990 4000 M 2 3 600 700
3 Jacobsen Lola 8/7/1997 9000 F 3 1 700 480
4 Higa Sidney 11/21/2000 12000 F 1 5 480 1404
5 Johnson Brian 4/15/1989 500 M 1 5 1404 1701
6 Bentley Sean 2/17/1990 350 M 4 3 1701 700
7 Price Jeff 10/5/1990 2000 M 3 2 700 600
8 Ashton Chris 1/1/1951 50 M 3 2 480 1404

*Foreign Keys
Start credit
Class_ID Subject Room fees
Time hours
1 English Hall A 1:00 PM 4 120
2 CIS Hall 12 3:00 PM 5 150
Social
3 4576c 6:00 PM 5 140
Studies
4 Science Hall B 2:00 PM 4 567
5 Math 2354c 4:00 PM 6 234
98-364 DATABASE ADMINISTRATION FUNDAMENTALS

Use the Third Normal Form (3NF) with the previous table. Remove columns that are not dependent upon the primary key. Any column that is not
directly needed should be removed from the table.
Costs can be calculated using Class Info table. Credit Hours * Fees
Costs fields have been removed from the table.
Student_ID Last First Birthday Tuition Sex class1 class2
1 Holt Holly 10/5/90 10000 F 1 3
2 Raheem Michael 6/18/1990 4000 M 2 3
3 Jacobsen Lola 8/7/1997 9000 F 3 1
4 Higa Sidney 11/21/2000 12000 F 1 5
5 Johnson Brian 4/15/1989 500 M 1 5
6 Bentley Sean 2/17/1990 350 M 4 3
7 Price Jeff 10/5/1990 2000 M 3 2
8 Ashton Chris 1/1/1951 50 M 3 2

You might also like