Hi,
I am working CROSSTAB functionality to generate the reports in the CSV format.
Now I have stage where I need to generate 2 result sets for the same 1 column data.
I am sharing the example here.
I have attached a sample data file.
![](/media/maillist_attaches/pgsql-admin/2024/04/14/DM4PR19MB59788EAD138EA457D4FE6A9BD30A2@DM4PR19MB5978.namprd19.prod.outlook.com/image001.png)
I am trying to know if I can generate this type of SQl ressult using CROSSTAB . I appreciate any hint or comments on this.
Thanks a lot,
Sarwar