Using a function, I am generating CROSSTAB SQL and the number of columns will vary for each execution. With that, it is extremely difficult to use view on this task.
Thanks,
Sarwar
From: Andreas Wagner <thewand@web.de> Sent: Monday, April 15, 2024 5:03 AM To: M Sarwar <sarwarmd02@outlook.com>; pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org> Subject: Re: From CROSSTAB: One Column data with Two results columns
Hello!
Am Sonntag, dem 14.04.2024 um 20:54 +0000 schrieb M Sarwar: > 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.