Tutorial One - Introduction To Data Modeling
Tutorial One - Introduction To Data Modeling
This tutorial will familiarize you with conceptual data modeling by using one of
the modern techniques -- Entity-Relationship Diagramming (ERD)
You are expected to apply all concepts and symbols introduced in the textbook
and lectures to identify the data needs (requirements) for the mini case
addressed in this assignment. You should consider all entities and relationships
mentioned in this case in your final ERD.
Question One:
Question Two:
Draw an ERD.
Question Three:
Draw an ERD.
Question Four:
1
have many invoices. Each invoice must be generated for only
one customer.
Draw an ERD.
Question Five
Question Six:
Question Seven:
2
several phones and fax numbers, at present only one phone
and one fax number is recorded on the company
information. The required information about a supplier
includes ID, name, address, and phone.
● Purchasing Agent: The person who handles the purchase
between KII and potential suppliers. The information
about a purchasing agent includes his/her name (not
unique), phone number, and e-mail address. Since the name
is not unique, KII creates a unique personal ID for each
purchasing agent. The required information for a
purchasing agent includes ID and name .
● Product: A product ordered by KII from potential
suppliers. The information about a product includes
product identifier, name, description, and
quantity-onhand. The required information for a product
includes product ID and name.
● Purchase: A purchase order between KII and a particular
supplier. The purchase order information includes its
unique order number, order date, and arrival date.
Certainly, it also includes relevant information about
the supplier, product, and the purchasing agent who
handles the purchase order. Note that some of this data
is to be included via relationships between the related
entities. Once a purchase order is made, the following
information must be provided: order number, order date,
and order quantity.
● Line Item: A line item represents a particular product
ordered in a given purchase order. The basic information
about a line item includes an item number, quantity
ordered, and unit cost. A line item must be related to a
purchase order and a particular product. The required
information for a line item includes item number and
quantity ordered.
● Customer: A customer is a potential department store to
which KII sells products. The information about a
customer includes customer name (e.g., a company name),
address, and phone. The required information about a
customer includes customer name and phone.
● Sales List: This list includes all potential customers
for a particular product. The list is updated regularly.
It contains information about the customer, product, and
the last transaction date on which the customer made a
purchase of that product. If there is no transaction
between the customer and product, then the date is left
empty.
3
● A purchase order is issued to a particular supplier. A
supplier may be involved in one or several purchase
orders.
● A purchase order may order one or several products. A
product may or may not appear on a particular purchase
order. Certainly, a product could be purchased by several
purchase orders. The relationship between purchase and
product, in fact, is reinforced by entity Line Item.
● A purchase order is handled by only one purchasing agent.
An agent may process one or several purchase orders.
● A product could be sold to one or several customers, and
a customer might be interested in buying one or several
products.