Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Pivot Tables

Re: Pivot Tables

From: Uchakra <uchakra_at_aol.com>
Date: 01 Feb 2001 04:42:40 GMT
Message-ID: <20010131234240.10413.00000153@ng-cu1.aol.com>

Create a view with different aliases to
select a subset of values from the table,

e.g.

select a.product_name, b.product_id alais1, c.product_id alias2, d.product_id alias3 from product_table a,
select * from product_table where
product_id =1 b,
select * from product_table where
product_id =2 c,
select * from product_table where
product_id =3 d

where
a.product_id = b.product_id
and
a.product_id = c.product_id
and
a.product_id = d.product_id ;

Probably my example is very crude.
However, it's probably close to
what you are looking for.

Regards
Willy Received on Wed Jan 31 2001 - 22:42:40 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US