Re: Window ? - Mailing list pgsql-sql

From Gerardo Herzig
Subject Re: Window ?
Date
Msg-id 1021212329.270013.1528903334631.JavaMail.zimbra@fmed.uba.ar
Whole thread Raw
In response to Window ?  (Olivier Leprêtre <o.lepretre@gmail.com>)
List pgsql-sql

----- Mensaje original -----
> De: "Olivier Leprêtre" <o.lepretre@gmail.com>
> Para: "pgsql-sql" <pgsql-sql@lists.postgresql.org>
> Enviados: Miércoles, 13 de Junio 2018 12:14:45
> Asunto: RE: Window ?

> Thanks David, Gerardo,
>
>
>
> I had a look to crosstab functions but wasn't able to make them work,
> documentation is not precise enough to me, I would appreciate if someone has a
> working sample. Based on your suggestion, I will try again anyway. The main
> difficulty is that I have not only one column but half a dozen taht I would
> like to appear
>
>
>
> road 1 colA colB colC colD colE ColF colA colB colC colD colE ColF colA colB
> colC colD colE ColF ...
>
> road 2 colA colB...
>
>
>
> for each road.
>
Look at section 39.1.4. of https://www.postgresql.org/docs/current/static/tablefunc.html
There is a working example that looks pretty close to what you want.

HTH
Gerardo


pgsql-sql by date:

Previous
From: Olivier Leprêtre
Date:
Subject: RE: Window ?
Next
From: Brice André
Date:
Subject: Problem inserting binary data in bytea column of UTF-8 database