From CROSSTAB: One Column data with Two results columns

Поиск
Список
Период
Сортировка
От M Sarwar
Тема From CROSSTAB: One Column data with Two results columns
Дата
Msg-id DM4PR19MB59788EAD138EA457D4FE6A9BD30A2@DM4PR19MB5978.namprd19.prod.outlook.com
обсуждение исходный текст
Ответы Re: From CROSSTAB: One Column data with Two results columns  (Andreas Wagner <thewand@web.de>)
Список 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


Вложения

В списке pgsql-admin по дате отправления:

Предыдущее
От: Sbob
Дата:
Сообщение: Re: pg_total_relation_size shows 0 byt table has thousands of rows (SOLVED)
Следующее
От: Sandeep Sivashankaran
Дата:
Сообщение: [MASSMAIL]Postgresql integration with Microsoft AD