Created
December 10, 2013 23:26
-
-
Save samjarman/7902277 to your computer and use it in GitHub Desktop.
Useful query for finding out your top posts on your blog (for all posts) if you use Statpress for Wordpress.
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 urlrequested, COUNT(urlrequested) | |
FROM `wp_statpress` | |
WHERE urlrequested LIKE '%THEPOSTTITLES%' | |
GROUP BY urlrequested | |
ORDER BY COUNT(urlrequested) DESC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment