Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

complete Problems 10-16. Additional part for Problem 10: If there is not a foreign key, how would you fix that? FIGURE P3.10 THE CHO3 BENECO

image text in transcribed

complete Problems 10-16.

Additional part for Problem 10: If there is not a foreign key, how would you fix that?

FIGURE P3.10 THE CHO3 BENECO DATABASE TABLES Table name: EMPLOYEE EMP CODE EMP_LNAME 14 Rudell 15 McDade 16 Ruellardo 17 Smith 20 Smith JOB_CODE 2 1 Database name: Ch03 BeneCo Table name: BENEFIT EMP_CODE PLAN_CODE 15 2 15 3 1 17 1 3 17 4 20 3 Table name: JOB JOB CODE JOB_DESCRIPTION 1 Clerical 2 Technical 3 Managerial Table name: PLAN PLAN_CODE PLAN_DESCRIPTION 1 Term life 2 Stock purchase 3 Long-term disability 4 Dental . Use the database shown in Figure P3.10 to work Problems 10-16. Note that the database is composed of four tables that reflect these relationships: An EMPLOYEE has only one JOB_CODE, but a JOB_CODE can be held by many EMPLOYEES. An EMPLOYEE can participate in many PLANs, and any PLAN can be assigned to many EMPLOYEES. Note also that the M:N relationship has been broken down into two 1:M relationships for which the BENEFIT table serves as the composite or bridge entity. 10. For each table in the database, identify the primary key and the foreign key(s). If a table does not have a foreign key, write None. 11. Create the ERD to show the relationship between EMPLOYEE and JOB. 12. Create the relational diagram to show the relationship between EMPLOYEE and JOB. . 13. Do the tables exhibit entity integrity? Answer yes or no, and then explain your answer. 14. Do the tables exhibit referential integrity? Answer yes or no, and then explain your answer. Write NA (Not Applicable) if the table does not have a foreign key. 15. Create the ERD to show the relationships among EMPLOYEE, BENEFIT, JOB, and PLAN. 16. Create the relational diagram to show the relationships among EMPLOYEE, BENEFIT, JOB, and PLAN

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

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

2nd Edition

1597499471, 978-1597499477

More Books

Students also viewed these Databases questions

Question

3 The distinction between microeconomics and macroeconomics.

Answered: 1 week ago

Question

2 The role of economic theory in economics.

Answered: 1 week ago