Search Postgresql Archives

Re: Recursive Queries

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

 



You don't want recursion, you want pivot table (Excel) behavior to reformat rows into columns. The easiest way to get this data in its raw form would be to group by date and hour of day and compute the count.

If you have the option to add extensions in your environment, then you should be able to pivot your data pretty simply.

https://www.postgresql.org/docs/12/tablefunc.html

[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