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 6
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', 4>
C) Insert into Works_on relation: '888665555',3,NULL>
D) Insert into DEPT_LOCATIONS relation: 5,'Houston'>
E) Insert into Employee relation:
'Janet,',','Smith', '677678989','1960-04-05','6357 Windswept, Katy, TX', F,28000,'987654321',9>
F) Delete any Dependent with Depentent_name = 'Elizabeth'
G) Delete any tuples in Department with Mgr_ssn='333445555'
H) Delete any tuples in Employee with Bdate ='1965-01-09'
Set the Mgr_ssn in Department relation to NULL for any Department with Dno =4
J) Update any Employee with SSN='333445555' to have date of birth '1983-09-25'
K) Update the Pno to 21 of all rows with ESSN=123456789' in the Works_on relation
For each part A)-K) report whether or not the command executed (YES/NO) 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 A)-K)
Task 6 A ) Create all of the tables shown and

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 Accounting Questions!