首页 > 代码库 > mysql update select error

mysql update select error

 

UPDATE i18nresource tar INNER JOIN (SELECT substring_index(resourceValue,‘Card‘,1) val,id FROM i18nresource where resourceKey like‘%Card‘) temp
ON tar.id = temp.id
SET tar.resourceValue = http://www.mamicode.com/temp.val;

mysql update select error