Created
January 31, 2014 15:49
-
-
Save tegansnyder/8734672 to your computer and use it in GitHub Desktop.
Magento - Get list of search terms that returned zero results in the last week.
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 * | |
FROM catalogsearch_query | |
WHERE num_results = 0 | |
AND updated_at >= date_sub(CURDATE(), interval 6 DAY) | |
AND updated_at <= CURDATE() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Suggestion to myself... order by popularity