MYSQL: How to search and replace data in one table a table with column from another table using a REGEXP
问题 Here's the basic idea of what I need to do. I have two tables like the following: Table A Table B |id|name | |id|sentence | |1 |hello | |1 |I like to say hello | |2 |world | |2 |The world is large | |3 |hello world| |3 |lorem hello ipsum world lorem ipsum hello world| I need to cycle through the rows in Table A to look for each name in Table B. Then I want to use a REGEXP in Table B to replace the word if it is found. For example if hello is found in Table B it will replace the word hello in