I would like to have an update statement like this
SELECT * from Employee WHERE age = CASE WHEN (age < 20) THEN age=15 WHEN (age > 20) THEN age=
I think what you want is:
UPDATE EMPLOYEE SET age = CASE WHEN AGE < 20 THEN 15 ELSE 20 END
You can use a case statement in an update as follows...
UPDATE Employee SET Age = CASE WHEN (age < 20) THEN 15 ELSE 20 END