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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to write a sql query

Re: How to write a sql query

From: magesh <magesh_at_garoo.ne.jp>
Date: Mon, 27 Nov 2000 11:48:15 +0900
Message-Id: <10692.122900@fatcity.com>


Hi Ajay ..Thanks for your response but i need detail info, How can i solve by using decode ..can you give simple example.

Regards
Magesh

> use decode ...
>
> ----- Original Message -----
> To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
> Sent: Wednesday, November 22, 2000 5:56 AM
>
>
> > Hi All
> >
> > How to write a sql query to print in the matrix report.
> > Eg . Test table .
> > a1 b1
> > 1 2.3
> > 1 3.5
> > 1 7.0
> > 2 1.7
> > 2 2.6
> > 2 2.9
> > 3 1.3
> > 3 2.9
> > 3 3.0
> >
> >
> > I need the output ,should be
> >
> > 1 2.3 3.5 7.0
> > 2 1.7. 2.6 2.9
> > 3 1.3 2.9 3.0
> >
> >
> > Please , Any one suggest me how to write a sql query for this.
> >
> >
> > Thanks & Regards
> > Magesh
> >
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: magesh
> > INET: magesh_at_garoo.ne.jp
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access / Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> >
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Ajay K
> INET: ajay_at_tems.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
Received on Sun Nov 26 2000 - 20:48:15 CST

Original text of this message

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