From CROSSTAB: One Column data with Two results columns - Mailing list pgsql-admin

From M Sarwar
Subject From CROSSTAB: One Column data with Two results columns
Date
Msg-id DM4PR19MB59788EAD138EA457D4FE6A9BD30A2@DM4PR19MB5978.namprd19.prod.outlook.com
Whole thread Raw
Responses Re: From CROSSTAB: One Column data with Two results columns
List pgsql-admin
 

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.


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


Attachment

pgsql-admin by date:

Previous
From: Sbob
Date:
Subject: Re: pg_total_relation_size shows 0 byt table has thousands of rows (SOLVED)
Next
From: Sandeep Sivashankaran
Date:
Subject: [MASSMAIL]Postgresql integration with Microsoft AD