📜  wordpress 删除早于日期“sql”的帖子修订 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:07.096000             🧑  作者: Mango

代码示例1
DELETE a,b,c FROM wp_posts a WHERE a.post_type = 'revision' LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id) LEFT JOIN wp_postmeta c ON (a.ID = c.post_id);