Question: 6. Design and execute a SQL query that correctly uses the CASE function and Employees table to display FIRST_NAME, the hire date is going to

 6. Design and execute a SQL query that correctly uses the

6. Design and execute a SQL query that correctly uses the CASE function and Employees table to display FIRST_NAME, the hire date is going to have four months added to it which the first Monday following the day and name the column as Next Evaluation day". A new column named as Salary Updates using a column job_id, with the case expression as follows; If the job_id is AD_VP', display 17000 If the job_id is 'AD_ASST', display 4400 If the job_id is 'AC_MGR', display 12000 Otherwise, display 20000 Restrict the output for all employees, whose HIRE_DATE before '11-May-1996'. Arrange the output by First_Name from A to Z. [6 Marks]

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!