Do the tables in figure 1 exhibit entity referential integrity? Why or why not?

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Do the tables in figure 1 exhibit entity referential integrity? Why or why not?
**Figure 1**

This diagram represents a database structure with four tables: EMPLOYEE, BENEFIT, JOB, and PLAN.

**Table: EMPLOYEE**

- **Columns:**
  - EMP_CODE: Employee Code
  - EMP_LNAME: Employee Last Name
  - JOB_CODE: Job Code

- **Rows:**
  1. EMP_CODE: 14, EMP_LNAME: Rudell, JOB_CODE: 2
  2. EMP_CODE: 15, EMP_LNAME: McDade, JOB_CODE: 1
  3. EMP_CODE: 16, EMP_LNAME: Ruellardo, JOB_CODE: 1
  4. EMP_CODE: 17, EMP_LNAME: Smith, JOB_CODE: 3
  5. EMP_CODE: 20, EMP_LNAME: Smith, JOB_CODE: 2

**Table: BENEFIT**

- **Columns:**
  - EMP_CODE: Employee Code
  - PLAN_CODE: Plan Code

- **Rows:**
  1. EMP_CODE: 15, PLAN_CODE: 2
  2. EMP_CODE: 15, PLAN_CODE: 3
  3. EMP_CODE: 16, PLAN_CODE: 1
  4. EMP_CODE: 17, PLAN_CODE: 3
  5. EMP_CODE: 17, PLAN_CODE: 4
  6. EMP_CODE: 20, PLAN_CODE: 3

**Table: JOB**

- **Columns:**
  - JOB_CODE: Job Code
  - JOB_DESCRIPTION: Job Description

- **Rows:**
  1. JOB_CODE: 1, JOB_DESCRIPTION: Clerical
  2. JOB_CODE: 2, JOB_DESCRIPTION: Technical
  3. JOB_CODE: 3, JOB_DESCRIPTION: Managerial

**Table: PLAN**

- **Columns:**
  - PLAN_CODE: Plan Code
  - PLAN_DESCRIPTION: Plan Description

- **Rows:**
  1. PLAN_CODE: 1, PLAN_DESCRIPTION: Term life
  2. PLAN_CODE: 2, PLAN_DESCRIPTION: Stock purchase
  3. PLAN_CODE: 3, PLAN_DESCRIPTION: Long-term disability
  4. PLAN_CODE: 4, PLAN_DESCRIPTION: Dental

This database structure allows for the association of employees with their respective jobs and benefits.
Transcribed Image Text:**Figure 1** This diagram represents a database structure with four tables: EMPLOYEE, BENEFIT, JOB, and PLAN. **Table: EMPLOYEE** - **Columns:** - EMP_CODE: Employee Code - EMP_LNAME: Employee Last Name - JOB_CODE: Job Code - **Rows:** 1. EMP_CODE: 14, EMP_LNAME: Rudell, JOB_CODE: 2 2. EMP_CODE: 15, EMP_LNAME: McDade, JOB_CODE: 1 3. EMP_CODE: 16, EMP_LNAME: Ruellardo, JOB_CODE: 1 4. EMP_CODE: 17, EMP_LNAME: Smith, JOB_CODE: 3 5. EMP_CODE: 20, EMP_LNAME: Smith, JOB_CODE: 2 **Table: BENEFIT** - **Columns:** - EMP_CODE: Employee Code - PLAN_CODE: Plan Code - **Rows:** 1. EMP_CODE: 15, PLAN_CODE: 2 2. EMP_CODE: 15, PLAN_CODE: 3 3. EMP_CODE: 16, PLAN_CODE: 1 4. EMP_CODE: 17, PLAN_CODE: 3 5. EMP_CODE: 17, PLAN_CODE: 4 6. EMP_CODE: 20, PLAN_CODE: 3 **Table: JOB** - **Columns:** - JOB_CODE: Job Code - JOB_DESCRIPTION: Job Description - **Rows:** 1. JOB_CODE: 1, JOB_DESCRIPTION: Clerical 2. JOB_CODE: 2, JOB_DESCRIPTION: Technical 3. JOB_CODE: 3, JOB_DESCRIPTION: Managerial **Table: PLAN** - **Columns:** - PLAN_CODE: Plan Code - PLAN_DESCRIPTION: Plan Description - **Rows:** 1. PLAN_CODE: 1, PLAN_DESCRIPTION: Term life 2. PLAN_CODE: 2, PLAN_DESCRIPTION: Stock purchase 3. PLAN_CODE: 3, PLAN_DESCRIPTION: Long-term disability 4. PLAN_CODE: 4, PLAN_DESCRIPTION: Dental This database structure allows for the association of employees with their respective jobs and benefits.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Arrays
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education