Re: QUERY PARA QUE ME MUESTRE LOS DATOS DE LA CONSULTA DE HORIZONTAL A VERTICAL

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Marcelo Diaz <marcelorauldiaz(at)gmail(dot)com>
Cc: "Guillermo E(dot) Villanueva" <guillermovil(at)gmail(dot)com>, Hellmuth Vargas <hivs77(at)gmail(dot)com>, MARIA ANTONIETA RAMIREZ SOLIS <maramirez(at)ulsaneza(dot)edu(dot)mx>, Lista Postgres ES <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: QUERY PARA QUE ME MUESTRE LOS DATOS DE LA CONSULTA DE HORIZONTAL A VERTICAL
Date: 2017-09-11 11:54:55
Message-ID: 20170911115455.p6wjgv7vuvyflgl4@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Marcelo Diaz escribió:
> https://www.postgresql.org/docs/9.1/static/tablefunc.html

¿Quizás usar \crosstabview en psql? (nuevo en 9.6 si mal no recuerdo).
Es muy práctico ... de hecho está pensado principalmente para reemplazar
el "crosstab" que viene en el tablefunc, de manera bastante más
conveniente, aunque puede ser engorroso hacerlo funcionar al principio.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Maria Antonieta Ramirez 2017-09-11 15:38:17 funcion crosstab
Previous Message Marcelo Diaz 2017-09-11 11:03:01 Re: QUERY PARA QUE ME MUESTRE LOS DATOS DE LA CONSULTA DE HORIZONTAL A VERTICAL