i want to make charts system and i think it must be like that
1 jan 2009 = 10 post
2 jan 2009 = 2 post
4 jan 2009 = 10 post
6 jan 2009 = 60 post
and i have posts
table that has id,user_id,date
how i can select from posts
to show it like that