Question: With reference to the database schema of the COMPANY database discussed in the class having the relations: Employee, Department, Dept _ Locations, Project, Works _

With reference to the database schema of the COMPANY database discussed in the class having the relations: Employee, Department, Dept_Locations, Project, Works_on and Dependent. Consider one possible state of the COMPANY relational database schema.
State which Integrity constraint will be violated if the following operations are applied. Also discuss the ways of enforcing the constraints.
a) Insert Preeti,G,Naidu,903599999,1990-04-05,102 Secunderabad, Telangana, F,270000, NULL, 5> into EMPLOYEE
b) Delete the EMPLOYEE tuple with Ssn =123456789.
c) Insert 999996789,NULL, 49.0> into WORKS_ON
d) Modify the Hours attribute of the WORKS_ON tuple with Essn =999887777 and Pno =10 to 25.0.
provide all steps
 With reference to the database schema of the COMPANY database discussed

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!