Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

1.1 Do all tables exhibit entity integrity? Answer yes or no and then explain your answer.

1.2 For each table in the database, identify foreign key(s) (if any). For each foreign key, state the referencing relation and the referenced relation.

1.3 Do all tables exhibit referential integrity? Answer yes or no (for each table) and then explain your answer.

Employee Plan EC14 EC15 EC16 EC17 EC20 JC2 JC1 JC1 JC3 JC2 Term Life Stock Purchase Long-term disabilitv Dental McDade Smith Smith Job Benefit JC1 JC2 Clerical Technical DBA EC15 EC16 EC17 EC17 EC17 EC20 2 JC3 nager ob code lan code

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

Step: 3

blur-text-image

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 Design And SQL For DB2

Authors: James Cooper

1st Edition

1583473572, 978-1583473573

More Books

Students also viewed these Databases questions