Question: Task 6 A ) Create all of the tables shown and insert all of the information displayed. Then, try B ) Insert into Project relation:
Task
A Create all of the tables shown and insert all of the information displayed. Then, try
B Insert into Project relation:
'Terrible Project', NULL, 'Dublin',
C Insert into Workson relation: NULL
D Insert into DEPTLOCATIONS relation: 'Houston'
E Insert into Employee relation:
'Janet,'Smith', Windswept, Katy, TX F
F Delete any Dependent with Depententname 'Elizabeth'
G Delete any tuples in Department with Mgrssn
H Delete any tuples in Employee with Bdate
Set the Mgrssn in Department relation to NULL for any Department with Dno
J Update any Employee with SSN to have date of birth
K Update the Pno to of all rows with ESSN in the Workson relation
For each part AK report whether or not the command executed YESNO successfully and if it did not,
explain why not in your answer. give all SQL commands used to create the tables and perform the commands given in AK
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
