Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment 2 - Chapter 3 & 4 6. What does it mean to say that a database displays both entity integrity and referential integrity? 7.

image text in transcribed

Assignment 2 - Chapter 3 & 4 6. What does it mean to say that a database displays both entity integrity and referential integrity? 7. What are the requirements that two relations must satisfy in order to be considered union-compatible? Table name: EMPLOYEE EMP_CODE EMP_L.NAME JOB_CODE 14 Rudell 2 15 McDade 1 16 Ruellardo 1 3 20 Smith 2 Table name: BENEFIT EMP_CODE PLAN_CODE 15 2 15 3 16 1 17 1 17 3 3 17 4 4 20 3 3 17 Smith Table name: JOB JOB_CODE JOB_DESCRIPTION 1 Clerical 1 2 Technical 3 Managerial Table name: PLAN PLAN_CODE PLAN_DESCRIPTION 1 Term lite 2 Stock purchase 3 Long-term disability 4 Dental Create an ERD 8. Use the following business rules to create a Crow's Foot ERD. Write all appropriate coonectivities and cardinalities in the ERD. A department employs many employees, but each employee is employed by only one department. b. Some employees, known as "rovers," are not assigned to any department. division operates many departments, but each department is operated by only one division. d. An employee may be assigned many projects, and a project may have many employees employees assigned to it. e. A project must have at least one employee assigned to it. f. One of the employees manages each department, and each department is managed by only one employee. g. One of the employees runs each division, and each division is run by only one employee. Use the above diagram to answer/complete the following 1. 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 in the space provided. primary key the foreign key Table name EMPLOYEE BENEFIT JOB PLAN 2. Create the ERD to show the relationship between EMPLOYEE and JOB. 3. Do the tables exhibit entity integrity? Answer yes or no, and then explain your answer. 4. 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. 5. Create the ERD to show the relationships among EMPLOYEE, BENEFIT, JOB, and PLAN. Answer the following questions

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

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions

Question

What is meant by 'significant influence'?

Answered: 1 week ago