Created
November 22, 2014 16:26
-
-
Save geraintp/52547996a7e174fb8424 to your computer and use it in GitHub Desktop.
count post_types
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT `post_type`,COUNT(*) FROM `wp_posts` GROUP BY `post_type`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment