This select works perfect in my opinion… any suggestion??
SELECT *
FROM `wp_posts` , `wp_postmeta`
WHERE `post_type` = 'post'
AND post_id = ID
AND DATEDIFF( NOW( ) , `post_date` ) >400
AND meta_key = "views"
AND meta_value =0;
the problem is that I don’t know how I can I do a DELETE to remove all this posts! Any helps?
Thanks
[edit, after comments – not tested, so possibly not 100% correct]