0

In mySQL under the column extra I have fields like the following (in one field per row)

Radio CD,Immobilizer,Multitronic Cr,Air Condition

The problem is that instead of Multitronic Car I wrote Multitronic Cr without a in about 300 rows.

How to fix this?

EnexoOnoma
  • 8,454
  • 18
  • 94
  • 179

1 Answers1

0

Please check the similar SO question but in your case it should be similar to:

UPDATE table_name

SET `extra` = REPLACE (`extra`, 'Multitronic Cr', 'Multitronic Car')

WHERE `extra` LIKE '%Multitronic Cr%'
Community
  • 1
  • 1
Kypros
  • 2,997
  • 5
  • 21
  • 27