Page 36 - AIS access_chang_ingraham
P. 36
34 CHAPTER 2 DATA MODELS AND RELATIONAL DATABASES
2.5 Quest, Inc.
The following tables and attributes exist in a relational database of Quest, Inc. First, draw a complete
REA diagram for this database. You must include cardinalities. Determine the proper cardinalities
based on the given design of each table and the additional information. Next, indicate if any errors
exist in the gtven database design.
Table Attributes
Vendor Vendor#, Name, Address, City, State, Contact person,
Phone, Fax
Purchases P.O.#, Order date, Amount, Vendor#, Employee#
Employee Employee#, Name, Address, Home phone number,
Date hired
Purchase-I nventory P.O.#, Item#, Unit cost, Quantity purchased, Extension
Purchase-Cash Disbursement P.O.#, Disbursement voucher#
Inventory Item#, Description, Quantity on hand
Cash (3ank account#, Bank name, Bank address, Balance
Cash Disbursement Disbursement voucher#, Check#, Date, Amount
Additional information:
• Quest is a retail company and it often carries new items of inventories.
• Quest would like to include potential vendors in its vendor tab.le.
• Most vendors allow credit purchases.
• Use the same employee table for internal agents.

