There is a table, T1 , in it you need to set the value of the field V2 to 'A3' , but only if this field was equal to 'A2' . You need to do this for all records whose V1 field is 'A1'
I tried it like this ... but something is already confused ...
UPDATE `T1` SET `V2` = REPLACE(`V2`, "A2", "A3") FROM `T1` WHERE `V1` LIKE 'A1'
UPDATE T1 SET V2 = IF(V2='A2', 'A3', V2) WHERE V1='A1'- vp_arth