Re: "Flattening" query result into columns

Поиск
Список
Период
Сортировка
От PFC
Тема Re: "Flattening" query result into columns
Дата
Msg-id op.sn0jw1c8th1vuj@localhost
обсуждение исходный текст
Ответ на "Flattening" query result into columns  ("Thomas Borg Salling" <tbs@navicon.dk>)
Список pgsql-sql
You could use the array_accum aggregate. See examples in the docs.

On Mon, 21 Mar 2005 22:57:13 +0100, Thomas Borg Salling <tbs@navicon.dk>  
wrote:

> I am looking for a way to "flatten" a query result, so that rows are
> "transposed" into columns, just as asked here for oracle:
>
> http://groups.google.dk/groups?hl=da
> <http://groups.google.dk/groups?hl=da&lr=&client=firefox-a&rls=org.mozilla:e
> n-US:official&selm=aad10be0.0401292322.7b6c320b%40posting.google.com>
> &lr=&client=firefox-a&rls=org.mozilla:en-US:official&selm=aad10be0.040129232
> 2.7b6c320b%40posting.google.com
>
>
> Is there any way to do this with pgsql  ?
>
>
> Thanks,
>
> /Thomas.
>
>
>




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

Предыдущее
От: Jonathan Daugherty
Дата:
Сообщение: Re: C function extending postgres
Следующее
От: "Leif B. Kristensen"
Дата:
Сообщение: Re: "Flattening" query result into columns