I checked this answer Appending data to a MySQL database field that already has data in it
And that tells me how I can append data to a MySQL table, which is great. But I don't want to do it for certain tables. For example if it includes a couple of strings. Is that possible?
Ideally I want to run an SQL query to append the word "course" to my products in WooCommerce. But I don't want it to add it if the word "bundle" exists.