I would like to update the first char of a column in MYSQL
WHERE the format of the string is LIKE '1-%'
change the first char to '0'.
I have created this example and think I am on the right tracks...
UPDATE products
SET
has_roundel = REPLACE(has_roundel, SUBSTRING(has_roundel, 0, 1),'0')
WHERE
has_roundel like '1-%';