Accounting Information Systems
4.6 The BusyB Company wants to store data about its employee skills. Each employee may
possess one or more specific skills, and several employees may have the same skill. Include the
following facts in the database:
date hired
date of birth
date skill acquired
employee name
employee number
pay rate
skill name
skill number
supervisor
a. Design a set of relational tables to store these data.
b. Identify the primary key for each table, and identify any needed foreign keys.
The necessary tables, with their attendant primary and foreign keys, are as follows:
Table Name Primary Key Foreign Keys Other Attributes
Employee Employee Number Supervisor number
(another employee
number)
Employee name
Pay rate
Date hired
Date of birth
Skills Skill number Skill name
Employees-Skills Skill number
Employee number
Date skill acquired
c. Implement your schema using any relational DBMS. Specify primary and foreign keys,
and enforce referential integrity. Demonstrate the soundness of your design by entering
sample data in each table.
There is no single solution to part c as students will select different software packages and enter
different data in the tables.
You want to extend the schema shown in Table 4-16 to include information about customer
payments. Some customers make installment payments on each invoice. Others write a check to pay
for several different invoices. You want to store the following information:
amount applied to a specific
invoice
cash receipt number
customer name
customer number
date of receipt
employee processing payment
invoice payment applies to
total amount received
4-4
©2018 Pearson Education, Inc.