Question: Procedure ( 2 0 p t s Implement a conditional CASE - - raising salary of Staff ( 1 ) Start phpMyAdmin and choose dreamhome
Procedure
Implement a conditional CASE raising salary of Staff
Start phpMyAdmin and choose dreamhome database
Click on Routines tab and add routine
Select procedure and give name raiseSalary
Drop input output parameter this case, no parameter
Enter code
UPDATE Staff
SET salary CASE
WHEN oPosition 'Manager'
THEN salary
ELSE
salary
END;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
