Docsity

Assignment 2 | Normalization - Database Administration | ISM 6217, Assignments of Information Technology

Toggle sidebar
bg1
ISM 6217 Assignment 2
Normalization (10 points)
For the following four problems, examine the relation and data provided and (a) identify possible
candidate keys, (b) identify the most reasonable primary key, (c) explain why the relation is in
first, second, or third normal form, and (d) if not already in third normal form, decompose it into
a set of third normal form (3NF) relations. Please base your answer on the data provided for each
relation, and state clearly any assumption that you make.
1. REPAIR (Customer, Job#, Job, Charge)
Customer Job# Job Charge
----------------------------------------------------------
Jansen, P 23433 Tune up 49.95
Jansen, P 23433 Lubrication 15.95
Schaefer, J 23435 Tune up 49.95
Costello, B 23438 Rebuild 865.00
Mills, R 23439 Paint 125.00
Mills, R 23440 Tune up 49.95
2. FINES (Name, License, Offense, Fine, Date, Ticket#)
Name License Offense Fine Date Ticket#
---------------------------------------------------------------------
Mills, E MVX 322 Parking 15.00 09/20/92 1023
Brooks, R RVX 287 Red Light 50.00 09/21/92 1025
Mills, E MVX 322 Parking 15.00 09/03/92 397
Harris, N TGY 832 Parking 15.00 09/22/92 1027
Syed, A KCE 654 Speeding 65.00 09/04/92 225
Mills, E MVX 322 Speeding 65.00 09/06/92 212
3. STORE (Brand, Product, Size, Aisle)
Brand Product Size Aisle
---------------------------------------------------------------
Hunt's Tomatoes(canned) #2 can 3
Campbell’s Tomatoes(canned) #3 can 3
Hunt's Tomatoes(canned) #3 can 3
Mrs. Paul's Fish sticks 20 pieces Poultry
Hunt's Ketchup Pint 5
Hunt's Tomato sauce #2 can 4
4. SALES (SalesRep#, Customer#, Part#, NumberSold)
SalesRep# Customer# Part# NumberSold
-------------------------------------------------------------
3 124 P1 15
3 256 P2 3
3 412 P1 21
3 412 P3 3
3 412 P4 5
6 124 P4 7
6 412 P5 1
6 412 P1 4
pf2

Partial preview of the text

Download Assignment 2 | Normalization - Database Administration | ISM 6217 and more Assignments Information Technology in PDF only on Docsity!

ISM 6217 Assignment 2

Normalization (10 points)

For the following four problems, examine the relation and data provided and (a) identify possible

candidate keys, (b) identify the most reasonable primary key, (c) explain why the relation is in

first, second, or third normal form, and (d) if not already in third normal form, decompose it into

a set of third normal form (3NF) relations. Please base your answer on the data provided for each

relation, and state clearly any assumption that you make.

  1. REPAIR (Customer, Job#, Job, Charge) Customer Job# Job Charge
    Jansen, P 23433 Tune up 49. Jansen, P 23433 Lubrication 15. Schaefer, J 23435 Tune up 49. Costello, B 23438 Rebuild 865. Mills, R 23439 Paint 125. Mills, R 23440 Tune up 49.
  2. FINES (Name, License, Offense, Fine, Date, Ticket#) Name License Offense Fine Date Ticket#
    Mills, E MVX 322 Parking 15.00 09/20/92 1023 Brooks, R RVX 287 Red Light 50.00 09/21/92 1025 Mills, E MVX 322 Parking 15.00 09/03/92 397 Harris, N TGY 832 Parking 15.00 09/22/92 1027 Syed, A KCE 654 Speeding 65.00 09/04/92 225 Mills, E MVX 322 Speeding 65.00 09/06/92 212
  3. STORE (Brand, Product, Size, Aisle) Brand Product Size Aisle
    Hunt's Tomatoes(canned) #2 can 3 Campbell’s Tomatoes(canned) #3 can 3 Hunt's Tomatoes(canned) #3 can 3 Mrs. Paul's Fish sticks 20 pieces Poultry Hunt's Ketchup Pint 5 Hunt's Tomato sauce #2 can 4
  4. SALES (SalesRep#, Customer#, Part#, NumberSold) SalesRep# Customer# Part# NumberSold
    3 124 P1 15 3 256 P2 3 3 412 P1 21 3 412 P3 3 3 412 P4 5 6 124 P4 7 6 412 P5 1 6 412 P1 4
  1. Convert the following ERD for Happy Cruises into a set of 3NF relations.