Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started