In this post, I am sharing an example of CROSSTAB query of PostgreSQL. The “tablefunc” module provides the CROSSTAB() which uses for displaying data from rows to columns. I already shared few similar articles on PostgreSQL PIVOT and new CROSSTABVIEW. PostgreSQL: CREATE PIVOT TABLE to arrange Rows into Columns form PostgreSQL 9.6: Introduced CROSSTABVIEW (pivot) […]