Removing data without a direct SQL query

This time I used WP_Query and wp_delete_post() in the loop.