This Study Resource Was: Example 1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

EXAMPLE 1

Automata Inc. produces specialty vehicles by contract. The company operates several
departments, each of which builds a particular vehicle, such as a limousine, a truck, a van, or an
RV. Before a new vehicle is built, the department places an order with the purchasing
department to request specific components. Automata’s purchasing department is interested
in creating a database to keep track of orders and to accelerate the process of delivering
materials. The order received by the purchasing department may contain several different
items. An inventory is maintained so that the most frequently requested items are delivered
almost immediately. When an order comes in, it is checked to determine whether the
requested item is in inventory. If an item is not in inventory, it must be ordered from a supplier.
• Draw an entity relationship diagram that
• Identifies the entities along with attributes, and the primary and foreign keys
(add fields that you think are appropriate)
• Identifies the relations and connectivities among the entities

m
er as
• Give at least two examples of the types of reports that can be obtained from the

co
database.

eH w
Solution ERD

o.
DEPARTMENT rs e
ou urc
DEPT_CODE
DEPT_NAME
o

DEPT_CONTACT
DEPT_EMAIL
aC s
vi y re

P LACES

ORDER
VENDOR
ed d

ORDER_NUM V E ND_ITEM
VEND_CODE
ar stu

S U PPLIES VEND_CODE (FK)


VEND_CODE (FK)
R E CEIVES VEND_NAME ITEM_CODE (FK)
ORDER_DATE
ORDER_AMOUNT VEND_CONTACT
DEPT_CODE (FK) VEND_EMAIL
sh is

CONTAINS
Th

IS FOU ND IN
P
OR D _LINE
ORD_LINE_NUM
ORDER_NUM (FK)
ITEM
PROD_DESCRIPTION
IS P LA CED IN ITEM_CODE
ORD_LINE_PRICE
ORD_LINE_QUANT
ITEM_NAME
ORD_LINE_TOTAL
ITEM_QOH
ITEM_CODE (FK)
ITEM_PRICE

https://www.coursehero.com/file/23571526/Example-1-ERD/
Page 1 of 1 Pages

Powered by TCPDF (www.tcpdf.org)

You might also like