title: Delete all orphaned revisions from wp_posts in wordpress?
body: <p>I want to delete all the revisions from wp_posts where the post it is a revision of no longer exists.</p>
  
  <p>I imagine we would need more then one query then then also clean up wp_postmeta.</p>
  
  <p>What is the best way to do this from phpmyadmin?</p>