Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 3 ( 6 Points ) : Given the following database instance, answer questions 3 . 1 through 3 . 3 : Employee Plan emp
Question Points:
Given the following database instance, answer questions through :
Employee Plan
empcode emplname jobcode plancode plandescription
EC Rudell JC Term Life
EC McDade JC Stock Purchase
EC Ruellardo JC Longterm disability
EC Smith JC Dental
EC Smith JC
Job Benefit
jobcode jobdescription empcode plancode
JC Clerical EC
JC Technical EC
JC DBA EC
JC Manager EC
EC
ExtraBenefit EC
jobcode plancode
JC
Assume that the following attributes are the primary keys for the tables:
empcode is the primary key for Employee table
jobcode is the primary key for the Job table
plancode is the primary key for the Plan table
empcode, plancode is a composite primary key for the Benefit table
jobcode, plancode is the composite primary key for the ExtraBenefit table
Points Do all tables exhibit entity integrity? Answer yes or no and then explain your answer for each table
Table Entity Integrity
YesNo Explanation
Employee
Job
Plan
Benefit
ExtraBenefit
Points For each table in the database, identify foreign keysif any For each foreign key, state the referencing relation and the referenced relation.
Referencing Relation Foreign Key Referenced Relation
Points Do all tables exhibit referential integrity? Answer yes or no and then explain your answer for each table.
Table Referential Integrity YesNo Explanation
Employee
Job
Plan
Benefit
ExtraBenefit
Step 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