I have this query
UPDATE `fitment_drums` SET `liters` = CONCAT(`liters`,'.0') WHERE `liters` LIKE '_'
Which results in this error:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''.0') FROM `fitment_drums` WHERE `liters` LIKE '_'' at line 1
When I substitute an ordinary string, eg. CONCAT ('asdf','.0') it works fine. I've tried using a select statement as an argument, and have also tried using a temporary table:
CREATE TEMPORARY TABLE t1 (SELECT * FROM `fitment_drums` WHERE liters like '_')
UPDATE `fitment_drums` SET liters = CONCAT(t1.liters,'.0') where t1.id = id
CONCAT()?FROM `fitment_drums`, but that's not anywhere in that query.