Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3 ( 6 Points ) : Given the following database instance, answer questions 3 . 1 through 3 . 3 : Employee Plan emp

Question 3(6 Points):
Given the following database instance, answer questions 3.1 through 3.3:
Employee Plan
emp_code emp_lname job_code plan_code plan_description
EC14 Rudell JC21 Term Life
EC15 McDade JC12 Stock Purchase
EC16 Ruellardo JC13 Long-term disability
EC17 Smith JC34 Dental
EC20 Smith JC2
Job Benefit
job_code job_description emp_code plan_code
JC1 Clerical EC153
JC2 Technical EC161
JC2 DBA EC171
JC3 Manager EC173
EC174
Extra_Benefit EC203
job_code plan_code
JC32
Assume that the following attributes are the primary keys for the tables:
emp_code is the primary key for Employee table
job_code is the primary key for the Job table
plan_code is the primary key for the Plan table
emp_code, plan_code is a composite primary key for the Benefit table
job_code, plan_code is the composite primary key for the Extra_Benefit table
3.1)(2 Points) Do all tables exhibit entity integrity? Answer yes or no and then explain your answer for each table
Table Entity Integrity
(Yes/No) Explanation
Employee
Job
Plan
Benefit
Extra_Benefit
3.2)(2 Points) For each table in the database, identify foreign key(s)(if any). For each foreign key, state the referencing relation and the referenced relation.
Referencing Relation Foreign Key Referenced Relation
3.3)(2 Points) Do all tables exhibit referential integrity? Answer yes or no and then explain your answer for each table.
Table Referential Integrity (Yes/No) Explanation
Employee
Job
Plan
Benefit
Extra_Benefit

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Marketing The Ultimate Marketing Tool

Authors: Edward L. Nash

1st Edition

0070460639, 978-0070460638

More Books

Students also viewed these Databases questions

Question

8. Explain the relationship between communication and context.

Answered: 1 week ago

Question

d. How were you expected to contribute to family life?

Answered: 1 week ago