I’m trying to write his in sql:
SET `Field` = (
If `Field` is empty then "b",
if `Field` is not empty, concat(`Field`,"_b"))
Meaning, if Field had value a it would change to a_b, if it was empty, it would change to b
Is there an sql synthax that creates this if..else statement properly?
1 Answer