SQL: Delete Posts that are over 'X' Days Old
DELETE FROM 'wp_posts' WHERE 'post_type' = 'post' AND DATEDIFF(NOW(), 'post_date') > X