Question: Write/Run SQL queries for the following use cases a) A new person whose name is Joshua T Miller has been hired. Add this new employed

Write/Run SQL queries for the following use cases

a) A new person whose name is Joshua T Miller has been hired. Add this new employed person to the system along with his following information:

SSN: 456363313

birth date: 1971-10-18

address: 98 Oak Forest, Katy, TX

salary: 37000

superssn: 456363313

dno: 4

b)Joshuas salary has been increased with 10%. Make the required update.

c)Joshua left the company after working 3 years. Delete his personal record from the system.

d)Make a list of all project numbers and project names for projects that involve an employee whose last name is 'Smith', either as a worker or as a manager of the department that controls the project.

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