Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2). (10 points) Suppose that each of the following Update operations is applied directly to the database state shown below. Discuss all integrity constraints violated

2). (10 points) Suppose that each of the following Update operations is applied directly to the database state shown below. Discuss all integrity constraints violated by each operation, if any.

a). Insert into EMPLOYEE.

b). Delete the WORKS_ON tuples with Essn = 123456789.

c). Modify the SUPERSSN attribute of the EMPLOYEE tuple with SSN= '999887777' to '943775543'.

d). Insert into DEPARTMENT.

e). Delete the EMPLOYEE tuple with Ssn = 987654321.

Answer the question by checking the corresponding cell in the following table.

Domain violation

Key violation

Entity integrity violation

Referential integrity violation

2a.

2b.

2c.

2d

2e

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions