select day_only(createdDate) createdonDate, count(createdDate) numCreated from account group by day_only(createdDate) order by day_only(createdDate) desc
this soql return result count base on day. but i want result count base on month.any way to achieve this soql.