Last active
March 18, 2021 13:46
-
-
Save rdlmda/e6363f78893d438917c1bba87326cd4d to your computer and use it in GitHub Desktop.
Revisions
-
rdlmda revised this gist
Mar 18, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ SELECT YEAR(post_date) YEAR, MONTH(post_date) MONTH, COUNT(*) COUNT FROM wp_posts WHERE post_type = 'post' AND post_status = 'publish' GROUP BY YEAR(post_date), MONTH(post_date); -
rdlmda created this gist
Feb 23, 2021 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ SELECT YEAR(post_date) YEAR, MONTH(post_date) MONTH, COUNT(*) COUNT FROM wp_posts WHERE post_type = 'post' GROUP BY YEAR(post_date), MONTH(post_date);