Josué Maldonado wrote:
> The problem is I need show the data in this way:
>
> TIPO OCT03 NOV03 DIC03 ENE04 FEB04
> --------------------------------------------------------
> NQTY 490 360 950 700 500
> NSOLD 4600 3900 7100 6200 5000
> NCOST 1850 1760 3000 2900 2300
>
> Any idea or suggestion?
See contrib/tablefunc for a function called crosstab().
HTH,
Joe