Chapter Four – Database Design Using Normalization
Page 4-21
ANSWERS TO MARCIA’S DRY CLEANERS CASE QUESTIONS
Marcia Wilson, the owner of Marcia’s Dry Cleaning, is in the process of creating databases to
support the operation and management of her business. For the past year, she and her staff
have been using a cash register system that collects the following data:
To help create her database, Marcia purchased a mailing list from a local business bureau. The
mailing list includes the following data:
HOUSEHOLD (Phone, FirstName, LastName, Street, City, State, ZIP, Apartment)
In some cases, a phone number has multiple names. The primary key is thus the composite
(Phone, FirstName, LastName). There are no null values in Phone, FirstName, and LastName,
but there are some null values in the address data.
There are many names in SALE that are not in HOUSEHOLD, and there are many names in
HOUSEHOLD that are not in SALE.
A Design an updateable database for storing customer and sales data. Explain how to deal
with the problems of missing data. Explain how to deal with the problems of incorrect
phone and name data.
MULTIVALUED DEPENDENCIES:
In CUSTOMER: It looks like Phone →→ (FirstName, LastName) could be a multivalued
dependency, but unless (FirstName, LastName) is unique we will have trouble when we separate