【发布时间】:2012-10-04 07:51:17
【问题描述】:
我正在尝试使用 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")
有什么建议吗?
谢谢。
【问题讨论】:
标签: mysql