Question: Use the database shown in Figure 2 to work Problems 5-7. Note that the database is composed of four tables that reflect these relationships: -
Use the database shown in Figure 2 to work Problems 5-7. Note that the database is composed of four tables that reflect these relationships: - An EMPLOYEE has only one JOB_CODE, but a JOB_CODE can be held by many EMPLOYEES. - An EMPLOYEE can participate in many PLANs, and any PLAN can be assigned to many EMPLOYEES. Databa Table name: JOB Table name: PLAN 5. For each table in the database, identify the primary key and the foreign key(s). If a table does not have a foreign key, write None. 6. Do the tables exhibit entity integrity? Answer yes or no, and then explain your answer. 7. Do the tables exhibit referential integrity? Answer yes or no, and then explain your answer. Write NA (Not Applicable) if the table does not have a foreign key
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
