If the date column is already a date type with the format YYYY-MM-DD , you can use the following query:
SELECT date_field AS Date, COUNT(date_field) FROM table WHERE (date_field BETWEEN '2015-10-02' AND '2015-11-02') GROUP BY date_field
If the date column is actually a string, you can use the strftime() function:
SELECT date_field AS Date, COUNT(date_field) FROM table WHERE strftime('%Y-%m-%d', date_field) BETWEEN '2015-10-02' AND '2015-11-02' GROUP BY date_field
source share