Created
July 7, 2013 06:37
-
-
Save charly24/5942567 to your computer and use it in GitHub Desktop.
WordPressの新規登録者数の推移表示
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 characters
select registered_date, count(*) as registered_cnt from ( | |
select (YEAR(user_registered) * 10000 + MONTH(user_registered) * 100 + DAY(user_registered)) as registered_date from wp_users) as tmp | |
group by registered_date | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment