How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask ehabtutor Your Own Question

ehabtutor, Computer Software Engineer
Category: Programming
Satisfied Customers: 1327
Experience:  Bachelor of computer science, 5+ years experience in software development, software company owner
Type Your Programming Question Here...
ehabtutor is online now
A new question is answered every 9 seconds

SQL Unit 2 1 1. For some unknown reason, HR decided to

This answer was rated:


Unit 2 – 1
1. For some unknown reason, HR decided to change the hire date of all the employees that were added today, to tomorrow (09/13/2005). Update the database to reflect this change. Make sure your changes get saved to the database.

2. Due to budget cuts, the IT department was closed. Delete the IT department from your database. Did this work? Why or why not?

3. Explain how you could delete the IT department without deleting all the employees who work for that department.

4. The price of grilled steak increased by 2 dollars. Update the database to show this change. Show your sql below.

5. The lunches scheduled for the 5 of December has been moved to the 15th of December. Update the database to show this change. Show your sql below.

6. A new supplier, RGF (Really Good Food) has been approved. RGF supplys all the same items as CBC, but 50 cents cheaper. Show the insert statements required to enter this information into the l_foods and l_suppliers table.

Unit 2 – 2
1. Create a new table using the following column structure from the l_foods table: supplier_id, product_code, menu_item, description and price. Call the table l_foods_lt5. Populate the l_foods_lt5 table to include all the foods that cost less than $5.00.
Unit 3 – 1
1. From the l_employees table, list all the different combinations of dept_code and credit_limit. Count the number of employees who are in each of these categories. Sort the rows by dept_code and then by credit_limit. Exclude the ‘SHP’ department in your results. Show only the dept_code, with a credit limit of over 12.50.

2. From the l_lunches table, count the number of lunches served each day. (The day the lunch is served is the lunch_date.)



welcome back.


its my pleasure that you requested me whoever last time it took me a lot of effort to finish your question so i hope this time you would compensate my effort with a nice bonus.


it is always my pleasure to help you.


when do you need those done?



ehab tutor

Customer: replied 5 years ago.
I'll definitely see what I can do. Before tomorrow midnight if possible. I appreciate your help.

ok fine.


i will definetly be done by then, maybe earlier.



ehab tutor

Customer: replied 5 years ago.
I have sent a bonus

thanks appreciated.



ehab tutor


Here you are

Let me know if you need any further assistance.

ehab tutor
ehabtutor and 3 other Programming Specialists are ready to help you
Customer: replied 5 years ago.
Thank you so much!

its always my pleasure to help you.


don't forget to leave me positive feedback as i will do


A bonus will be highly appreciated



ehab tutor