Question: Use the database shown in the figure below to answer the remaining questions. The database is composed of four tables that reflect these relationships: *

 Use the database shown in the figure below to answer the

Use the database shown in the figure below to answer the remaining questions. 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 entity.

1.Which of the following statement is true for table BENEFIT?

EMP_CODE and PLAN_CODE together is a composite primary key.

PLAN_CODE is a primary key.

EMP_CODE is a primary key.

The table does not have a primary key.

2.

Which of the following statement is true for table EMPLOYEE?

Group of answer choices

EMPLOYEE table exhibits referential integrity meaning each JOB_CODE value in EMPLOYEE points to an existing JOB_CODE value in JOB.

EMPLOYEE table does not exhibit referential integrity.

3.

Which of the following statement is true for table BENEFIT?

Group of answer choices

BENEFIT table does not exhibit referential integrity.

BENEFIT table exhibits referential integrity meaning each EMP_CODE value in BENEFIT points to an existing EMP_CODE value in EMPLOYEE and each PLAN_CODE value in BENEFIT points to an existing PLAN_CODE value in PLAN.

4. There exists a 1:M relationship between JOB and EMPLOYEE.

true false

Table name: EMPLOYEE EMP_CODE EMP_LNAME JOB_CODE 14 Rudell 15 McDade 1 16 Ruellardo 1 17 Smith 3 20 Smith 2 Table name: BENEFIT EMP_CODE PLAN_CODE 15 15 3 16 1 17 1 17 3 17 4 20 3 Table name: JOB JOB_CODE JOB_DESCRIPTION 1 Clerical 2 Technical 3 Managerial Table name: PLAN PLAN_CODE PLAN_DESCRIPTION 1 Term life 2 Stock purchase 3 Long-term disability 4 Dental

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!