Created
October 29, 2018 10:46
-
-
Save uptimizt/de70ad807346d16aa87b6e0388244154 to your computer and use it in GitHub Desktop.
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
-- WordPress - Comments 1 year ago | |
SELECT * | |
FROM wp_comments as c | |
WHERE c.comment_date_gmt < DATE_SUB(NOW(),INTERVAL 1 YEAR) | |
ORDER BY c.comment_date_gmt DESC | |
LIMIT 50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment