Im trying to use IF query in update some entire row in my mysql table. As known IF query have 3 parameters. Part 1 of what you looking for, part 2 if its found / true and part 3
You can reassign the same value of column in FALSE part to do nothing.
Try this:
UPDATE tableA SET COL1 = IF(a=b, c, COL1)