Created
February 19, 2013 11:31
-
-
Save atopal/4985044 to your computer and use it in GitHub Desktop.
number of positive question votes per day
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 DATE(`questions_answervote`.`created`) as days, count(*) as number_of_pos_votes | |
FROM `questions_answervote` | |
WHERE `questions_answervote`.`helpful`=1 | |
AND `questions_answervote`.`created` BETWEEN '2012-01-01 0' AND '2013-02-17 0' | |
GROUP BY DATE(`questions_answervote`.`created`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment