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

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

(2 Points) Do all tables exhibit entity integrity? Answer yes or no and then explain your answer.

1.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.

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

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

Handbook Of Database Security Applications And Trends

Authors: Michael Gertz, Sushil Jajodia

1st Edition

1441943056, 978-1441943057

More Books

Students also viewed these Databases questions