Wally Los Gatos, owner of
Wally’s Wonderful World ofWallcoverings, has hired you as a consultant to designa database management system
for his chain of threestores
that sells wallpaper and accessories. He wouldlike to track sales, customers, and employees. After aninitial meeting with Wally, you have developed a list of businessrules and specificationsto begin the design ofanE-R model:
•Customers placeorders through
•Wally would like totrack the following aboutcustomers:Name, Address, City, State, Zip Code, Telephone, Date ofBirth,
and Primary Language.
•A customer may place many orders.
customer does not always have to order through thesame branch all the time.
•Customers may have one or more accounts, althoughthey
may also have noaccounts.
•The following information needs to be recorded aboutaccounts: Balance, Last
payment date, Last paymentamount, and Type.
branch may have manycustomers.
The following information about each branch
needs toberecorded: Branch Number,
Location (Address, City, State,Zip Code), and Square Footage.
•A branch may sell all items or may only sell certainitems.•Orders
are composed of one or more items.
•The following information about each order needsto be recorded: Order Date and Credit AuthorizationStatus.•Items
may be sold byone or more branches.
•We wish to record the following about each item:Description,
Color, Size, Pattern,and Type.
item can be composed of multiple items; for example,a dining room wallcovering set
(item 20) may consist of wallpaper
(item 22) and borders (item 23).
•Wally employs56 employees.
•He would like to track the following information aboutemployees: Name, Address
(Street, City, State, ZipCode), Telephone, Date of Hire, Title, Salary, Skill, and Age.
employee works in one and onlyone branch.
employee may have one or more dependents. We wish to record the name of the dependent as well as the age and relationship.
•Employees can have one or more
Baseduponthisinformation,drawanE-Rmodel.Indicateany assumptions that you have
made. Also, draw a datamodel
for this situation using the tool you have been told to use in your course.