Question
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
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 codeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started