Professional Documents
Culture Documents
Homework 1: Due Date 4/1 23:59pm
Homework 1: Due Date 4/1 23:59pm
2. Suppose that you have the Crow’s Foot ERD shown in the figure below. (15%)
How would you convert this model into an ERD that displays only 1:M
relationships? (Write down the revised business rules and make sure that you
draw the revised ERD.)
3. Create a Crow’s Foot ERD to include the following business rules for the
ProdCo company: (15%)
Each sales representative writes many invoices.
Each invoice is written by one sales representative.
Each sales representative is assigned to one department.
Each department has many sales representatives.
Each customer can generate many invoices.
Each invoice is generated by one customer.
4. Use the database shown in Figure P3.1 to answer Problems. (36%)
FIGURE P3.1 The Ch03_StoreCo Database Tables
a. For each table, identify the primary key and the foreign key(s). If a table
does not have a foreign key, write None in the space provided.
b. Do the tables exhibit entity integrity? Answer yes or no and then explain
your answer.
c. Do the tables exhibit referential integrity? Answer yes or no and then explain
your answer. Write NA (Not Applicable) if the table does not have a foreign key.
d. Describe the type(s) of relationship(s) between EMPLOYEE and STORE.
(Hint: Each store employs many employees, one of whom manages the store.)
e. Draw the ERD to show the relationships among EMPLOYEE, STORE, and
REGION.
5. The local city youth league needs a database system to help track children that
sign up to play soccer. Data needs to be kept on each team and the children that
will be playing on each team and their parents. Also, data needs to be kept on
the coaches for each team. Draw the complete ERD in Crow’s Foot notation
described below. (Hint: should label which attribute is PK) (24%)
Attributes required: