Question: 2 . Insert the following 2 employee data into EMP _ 1 table. 3 . Write the SQL code that will list all attributes for

2. Insert the following 2 employee data into EMP_1 table.
3. Write the SQL code that will list all attributes for a job code of 502.
4. Write the SQL code to change the job code to 501 for the person whose employee number (EMP_NUM) is 107. After you have completed the task and examine the results by displaying that employees data
5. Write the SQL code to delete the row for the person named William Smithfield, who was hired on June 22,2004, and whose job code classification is 500.(Hint: Use logical operators to include all of the information given in this problem.)
6. Write the SQL code required to list all employees whose last names start with Smith. In other words, the rows for both Smith and Smithfield should be included in the listing. Assume case sensitivity.
7. Write the SQL code to find the average Assign_Charge from the Assignment table.
8. Write the SQL code to find the minimum and maximum Charge_Hours from the Assignment table.
9. Write the SQL code to find how many employees are in job_code 501.
10. Write the SQL code to find how many assignments are associated with each 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!