Question: Consider the following relations: Emp(E_id: integer, E_name: string, Age: integer, Salary: real) Works(E_id: integer, Dep_id: integer, affectation: date) Dept(Dep_id: integer, Dep_name: string, budget: real, Manager_id:

Consider the following relations:

Emp(E_id: integer, E_name: string, Age: integer, Salary: real) Works(E_id: integer, Dep_id: integer, affectation: date) Dept(Dep_id: integer, Dep_name: string, budget: real, Manager_id: integer)

a) What referential integrity constraints exist between these relations?

b) What are the options for enforcing these constraints when a user attempts to delete a Dept tuple?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!