Use the database shown in Figure P3.10 to work Problems 10-16. 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. Note also that the M: N relationship has been broken down into two 1: M relationships for which the BENEFIT table serves as the composite or bridge entity. 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. Create the ERD to show the relationship between EMPLOYEE and JOB
Use the database shown in Figure P3.10 to work Problems 10-16. 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. Note also that the M: N relationship has been broken down into two 1: M relationships for which the BENEFIT table serves as the composite or bridge entity. 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. Create the ERD to show the relationship between EMPLOYEE and JOB
Use the database shown in Figure P3.10 to work Problems 10-16. 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. Note also that the M: N relationship has been broken down into two 1: M relationships for which the BENEFIT table serves as the composite or bridge entity. 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. Create the ERD to show the relationship between EMPLOYEE and JOB
Use the database shown in Figure P3.10 to work Problems 10-16. 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. Note also that the M: N relationship has been broken down into two 1: M relationships for which the BENEFIT table serves as the composite or bridge entity. 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. Create the ERD to show the relationship between EMPLOYEE and JOB
Transcribed Image Text:FIGURE P3.10 THE CH03_BENECO DATABASE TABLES
Database name: Ch03_BeneCo
Table name: EMPLOYEE
Table name: BENEFIT
EMP CODE PLAN_CODE
EMP CODE EMP_LNAME JOB_CODE
14 Rudell
15 McDade
16 Ruellardo
17 Smith
20 Smith
2
15
2
15
3
1
16
17
17
17
4
20
3
Table name: JOB
Table name: PLAN
JOB_CODE JOB_DESCRIPTION
1 Clerical
2 Technical
3 Managerial
PLAN_CODE PLAN_DESCRIPTION
1 Term life
2 Stock purchase
3 Long-term disability
4 Dental
Use the database shown in Figure P3.10 to work Problems 10–16. 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
ΕMPLOYΕE .
• An EMPLOYEE can participate in many PLANS, and any PLAN can be assigned to
many EMPLOYEES.
Note also that the M:N relationship has been broken down into two 1:M relationships for
which the BENEFIT table serves as the composite or bridge entity.
10. 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.
11. Create the ERD to show the relationship between EMPLOYEE and JOB.
12. Create the relational diagram to show the relationship between EMPLOYEE and
JOB.
13. Do the tables exhibit entity integrity? Answer yes or no, and then explain your
answer.
14. 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.
15. Create the ERD to show the relationships among EMPLOYEE, BENEFIT, JOB, and
PLAN.
16. Create the relational diagram to show the relationships among EMPLOYEE,
BENEFIT, JOB, and PLAN.
Organized collection of structured information, or data, typically stored in a computer system.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.