| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
|  |  | |||
Home -> Community -> Usenet -> c.d.o.misc -> Re: Return Single Row with Multiple Cols Instead of Multiple Row
Anil G wrote:
> Guys,
> 
> Is it possible to return single row with multiple columns instead of
> multiple rows.
> 
> Basically, query returns following hierarchy.
> 
> product classification parent Classification
> ABC        Motorcycle          Motorcycle
> ABC        On Road             Motorcycle
> ABC        Casual              On Road
> ABC        Model               Casual
> 
> Hierarchy is not fixed level,and values of classification change based
> on product.
> 
> Thank you in advance,
> 
> Anil G
Ah the fragrant smell of homework.
Look at using DECODE.
Demos in Morgan's Library at www.psoug.org.
-- Daniel A. Morgan http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Wed Oct 26 2005 - 00:35:35 CDT
|  |  |