Normalization Exercise. First Normal Form Second Normal Form.

6
Normalization Exercise

Transcript of Normalization Exercise. First Normal Form Second Normal Form.

Page 1: Normalization Exercise. First Normal Form Second Normal Form.

Normalization Exercise

Page 2: Normalization Exercise. First Normal Form Second Normal Form.

First Normal Form

Page 3: Normalization Exercise. First Normal Form Second Normal Form.

Second Normal Form

Page 4: Normalization Exercise. First Normal Form Second Normal Form.

Third Normal Form

Page 5: Normalization Exercise. First Normal Form Second Normal Form.

Entity Relationship Diagram

Construct an ER diagram for a car-insurance company whose customers own one or more cars each. Each car has associated with it zero to any number of recorded accidents. Each customer has a unique ID number, first and last name, mailing address and phone number. Each car has a make, model, model year, color and registration number. Each accident has a date, location, name and mailing address of others involved, and cost to the insurance company.

Page 6: Normalization Exercise. First Normal Form Second Normal Form.

Customer Owns Vehicle Involved In Accident

ID

Name

Address

Phone

Make

Model

Year

Color

Reg. Number

Location

Date

Cost

Name

Address

CollidedWith

Others Involved