我尝试使用 Select As 从表中选择一个值,以便我可以在查找和替换语句中使用该值。这是我到目前为止所拥有的,但没有运气:
SELECT meta_value from wp_postmeta where meta_key=description and post_id IN (22179,22182) AS "video", update wp_posts set post_content = replace(post_content,"[description]","video")
有什么建议么?
谢谢你。