Mysql update with replace and select
AVVISO! Le informazioni di questo post potrebbero non essere più valide in quanto non aggiornate. Usa i commenti per contribuire a tenere il post aggiornato.
ULTIMA REVISIONE DEL POST: 26/11/2017
Today, the my lesson speaks of mysql query (update partial of parameter and select).
Query of select:
SELECT field FROM `table` WHERE field LIKE ‘%text%’
use % for select a partial text of field
Query of update:
UPDATE `table` SET field = REPLACE(field,”text1″,”text2″)
text 1 is a partial text to you replace into field of text with text 2