field_data_body
+----------+---------------------+
| entry_id | body_value |
+----------+---------------------+
| 1009 | content |
+----------+---------------------+
| 1020 | |
+----------+---------------------+
| 1025 | more content |
+----------+---------------------+
i_posts
+------+---------------+
| id | html |
+------+---------------+
| 1009 | |
+------+---------------+
| 1020 | |
+------+---------------+
| 1025 | |
+------+---------------+
i_posts
+----------+---------------------+
| id | html |
+----------+---------------------+
| 1009 | content |
+----------+---------------------+
| 1020 | |
+----------+---------------------+
| 1025 | more content |
+----------+---------------------+
嗨,我试图将body_value
柱转移到html
列,我不知道如何执行此。我有一个名为i_posts
的表格,我有我想转移的所有帖子的ID。但是在field_data_body
表中,它没有每个entry_id的内容。有没有办法将body_value
移动到html列中,同时保留正确的id
?感谢任何先进的帮助! - Blake迁移表的一个列到另一个表的列在phpMyAdmin
http://dev.mysql.com/doc/refman/5.5/en/update.html,搜索“多个表”。 – CBroe 2015-01-26 20:55:16