mysql update statement

1. Find information containing a character, and replace it all to the table name bed, field names title, for example: update bed set title = "bed" where title like "% Queen%";

2, to update the replacement content table: update bed set title = replace "% original content%" ( 'title', 'original content', 'content to replace') where title like;

Guess you like

Origin www.cnblogs.com/jerryliuxin/p/11343763.html