I have a table with two fields (id and date)
What I need is the number of records for each day.
ex:
2001-12-01 = 10 records
2001-12-02 = 6 records
2001-12-03 = 15 records
2001-12-04 = 3 records
.....
Then take those numbers add them up and divide by the number of days.
Is their an efficent way of doing this with php or sql.