Ch. 4: Relational Databases
4-28
4.6 The BusyB Company wants to store data about 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
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:
Supervisor number
(another employee
number)
Employee name
Pay rate
Date hired
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.