crosstab issue

Поиск
Список
Период
Сортировка
От Eugenio Trumpy
Тема crosstab issue
Дата
Msg-id DB3PR06MB08733D5962B99896C8C10353E5080@DB3PR06MB0873.eurprd06.prod.outlook.com
обсуждение исходный текст
Список pgsql-general
Hi,


I was just tying to perform a crosstab query on pgsql 9.1.4.

I wonder if there is something to know for creating a pivot table by using crosstab when the pivot table has more then ten fields.

I prepared crosstab query that aggregate less than 10 fields correctly whilst another crosstab query which put together more than 10 fields

give me problem:

a field put as sixth field in the query results 17th, or field put as 17 that results 8th....it seems that field over 9th is put as first (in the beginning)

and not as last.


Of course there could be something wrong in my query, here reported:


http://paste.ubuntu.com/20045481/


Any hint is welcome.


Regards


E.


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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: BDR Cluster vs DB Config
Следующее
От: Jordan Gigov
Дата:
Сообщение: Enhansement proposal: ordering by parameter