Beruflich Dokumente
Kultur Dokumente
General Instructions
Please upload an electronic version of your report to Blackboard [Assignments -> Data
Management & SQL -> Homework Lecture 1]. Clearly indicate your name, due date,
homework number and course name in the report. You can write the report in MS Word,
LATEX, etc.
The assignment
1. Given below, is a class diagram of a database for a book store which tracks information about
customers and what they buy. In this particular bookstore, both books and stationary can be
bought. Notice that the associations are missing (see below).
Reconstruct the associations. Do not forget to indicate the type of relationship, add the minimum
and maximum values of the associations and the primary keys. Clearly indicate what your
assumptions are.
Customer
Order Book Order
Customer_ID
First Name Order_ID Order_ID
Last Name Customer_ID ISBN
Date of birth Order_Date Unit Price
Phone Order_Total Amount
Street
HouseNr
City Stationary Order Book
ZIP
Country Order_ID ISBN
Stationary_ID Title
Unit Price First Author
Amount Publisher
Stat. Categories
Stat_Category_ID Stationary
Category_Name
Stationary_ID
Stationary_Category_ID
Description
1
2. Given below, is a form from the online company See Them Play Inc. The form is used to allow
customers to buy tickets for music shows online. Customers can be several tickets for a
particular show at once, but have to assign each ticket to an individual.
Ticket Holders
Assumptions
Normalize the form from the initial form into the 3NF. Cleary indicate the functional dependencies
and any additional assumptions you make (optional). After the complete normalization process also
provide the relationship diagram in3NF.
Good luck!