You are on page 1of 10

Kuliah IV Sistem Basis Data

The Relational Database Model


Exercise (Choose 3 of 5 problems and solve
them)

1) Write the business rule(s) that govern the


relationship between AGENT and CUSTOMER
according to Figure 2.1.
Exercise (Choose 4 of 6 problems and solve
them)

An AGENT can have many CUSTOMERs while each


customer has only one AGENT.
Relationship between AGENT and CUSTOMER
according to Figure 2.1 is one to many from agent
to customer and many to one from customer to
agent.
agent
Exercise

2) Given the business rule(s) you wrote in Problem 1,


create the basic Crow’s Foot ERD.

or
Exercise

3) Identify each relationship type and write all of the


business rules.
Exercise

3
Exercise

4) Create the basic Crow’s Foot ERD for Tiny


College as mentioned in problem 3
Exercise
Exercise

5) Create a Crow’s Foot ERD to include the following


business rules for the ProdCo company:
a. Each sales representative writes many invoices.
b. Each invoice is written by one sales
representative.
c. Each sales representative is assigned to one
department.
d. Each department has many sales representatives.
e. Each customer can generate many invoices.
f. Each invoice is generated by one customer.
Exercise

a. Each sales representative writes many


invoices.
b. Each invoice is written by one sales
representative.
c. Each sales representative is assigned to
one department.
d. Each department has many sales
representatives.
e. Each customer can generate many
invoices.
f. Each invoice is generated by one
customer.

You might also like