update cmstop_content_meta u set u.data = (select concat(concat(concat(concat('a:2:{i:3;a:1:{s:18:"magazineChargeFlag";s:1:"',concat(right(a.description,1),'"')),';}i:4;a:1:{s:9:"entity_id";s:9:"',left(replace(a.description,'15535,',''),9)),'";}}')) as data from (SELECT * FROM `cmstop_content` where catid= 4421) c,cmstop_article a where a.contentid=c.contentid and length(a.description)>=11 and u.contentid=a.contentiid) where u.contentid= 3645240
SQL拼接代码!cmstop系统
最新推荐文章于 2023-01-08 19:18:33 发布