Avatar of Jenkins
Flag for United States of America

asked on 

Get count of records by month using SQL

I have a date range of records.  (1/1/2010 through 12/31/2010)

Coding the following will give me a total record count:


How could I modify it to give me a count by month? I need to know the number of records per month (ie 1/1/2010 through 1/31/2010, 2/1/2010 through 2/28/2010, etc etc)
Oracle DatabaseDatabasesMicrosoft SQL Server

Avatar of undefined
Last Comment

8/22/2022 - Mon