Normalization Exercise
Examine the following relation and answer the following questions. Assume these are the values that exist for all time (e.g., the toys shown always cost the amount shown) and that boys with the same name are the same person.
BOY
|
GROUP
|
AGE
|
TOY
|
CATEGORY
|
PRICE
|
|
|
|
|
|
|
Charlie
|
6 year olds
|
6
|
Soccer ball
|
Sports
|
18.44
|
Jimmy
|
5 year olds
|
5
|
Hammer
|
Tools
|
7.99
|
Robert
|
6 year olds
|
6
|
Baseball
|
Sports
|
8.99
|
Jimmy
|
5 year olds
|
5
|
Soccer ball
|
Sports
|
18.44
|
Jimmy
|
5 year olds
|
5
|
Wrench
|
Tools
|
6.99
|
Charlie
|
6 year olds
|
6
|
Baseball
|
Sports
|
8.99
|
Stewart
|
5 year olds
|
5
|
Oracle
|
Computer Software
|
399.99
|
1. Is this relation in at least 1NF? Why or why not?
2. Assuming the values shown are the only possible tuples for all time, what is the primary key of the initial relation? Remember that a primary key must be unique and not null.
3. What normal form is this relation currently in?
4. Describe the specific modification anomalies that exist if we DELETE the tuple containing Stewart.
5. If necessary, decompose the initial relation into a set of non-loss 3NF relations by showing the relations, attributes, and tuples. Show complete relations with attribute headings and all data values in the tuples of your relations. Determine the number of 3NF relations you end up with after normalization, write this number, and then circle the number.
At the top of your Word file include your name, and the date.