Search Postgresql Archives

getting daily stats for event counts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi:  
9.6.0 on linux

I have a table which logs the inception of an event with an "incept_datetime" (timestamptz) field.  I want to know how many events occurred per day from one date to the next using midnight as a marker for each day reported.  The end result should be something like...

2019-06-23  44
2019-06-24  18
2019-06-25  38
etc...

Is there a query that can do this ?


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux