Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

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

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899

Students also viewed these Databases questions