I am very new to MySql and I am having a lot of trouble with the syntax. I am looking for a query that will do the following.
if string 'abc' is present in any row of column 'X', then insert string 'def' into column 'Y', only in the same rows that contain 'abc' in column 'X'.
I have tried a few different statements but i continue to receive syntax errors. Hopefully I have explained this clearly enough in pseudo