Question: QUESTION 4 Write the data manipulation statements of SQL that modify the contents of a database listed on page 4 of the examination paper in
QUESTION
Write the data manipulation statements of SQL that modify the contents of a database listed on page of the
examination paper in the ways described below. Note, that you are not allowed to modify andor to drop any
consistency constraints. Also note, that to implement some of the modifications listed below you may need
more than one data manipulation statement of SQL
Insert into the database information about a new project. The project number is title is Puzzle, the
sponsor is ABC Ltd done by the department number and budget is $
Two employees work on the new project. Employee has been assigned to the project. She
spends hours on the new project. Employee project has been changed to this new one. He
spends hours on the new project.
The project has been cancelled. Remove the related data from the database.
An employee neither a manager nor a supervisor decided to quit a job. Remove all information
about the employee from the database.
An employee starts to work in the department ACCOUNTING as a manager at An
employee starts to work in the department SALES as a manager at the same day.
Note: The employees supervised by their department managers should also be updated.
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
