Useful WordPress SQL queries
The best Database Editor is phpMyAdmin as for me. It is very simple and comfortable. To run SQL queries below on database choose a required database in the left sidebar and open SQL tab in the top of the right window. How to remove all posts with a custom ‘post type’ and their meta fields…