I would like to replace all occurences of 's with s in myTable's name column.
I tried REPLACE but it replaces all records. I want to do it for some customers.
Note: Customer is foreign key in myTable.
Thanks in advance
Update:
I tried some queries
REPLACE(name, "'s", "s") from data where cust_id = 1 but this doesn't work
From one of questions I tried SELECT REPLACE(name, "'s", "s") from data where cust_id = 1.
This is replacing all records in table
WHEREclause?WHEREclause.