Professional Documents
Culture Documents
SQL
SQL
and post_status="publish" and post_content not like "%<div%" and post_date between "2013-05-10 00:00:00" and "2013-05-21 00:00:00" order by i d desc limit 200 update wp_posts set post_status="trash" where post_type="post" and post_status=" publish" and post_content not like "%<div%" and ID<="7224" and post_date between "2013-05-10 00:00:00" and "2013-05-21 00:00:00" limit 200 select * from wp_posts where post_type="post" and post_status="trash" and post_content not like "%<div%" and post_date between "2013-05-10 00:00:00" and "2013-05-21 00:00:00" limit 200 select * from wp_posts where post_type="post" and post_status="trash" limit 400 delete from wp_posts where post_type="post" and post_status="trash"