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

Home -> Community -> Usenet -> c.d.o.misc -> Matrix select with SQL: is it possible?

Matrix select with SQL: is it possible?

From: gil guerillot <gil.guerillot_at_ratp.fr>
Date: Thu, 25 Oct 2001 10:03:48 +0100
Message-ID: <9r8go9$27db$1@gotix.reseau.ratp>


I have a table with 3 fields:

column:   Object            axes                value

Datas:       Oi                   Xi/Yi                Vi

the field axes is always with the same separator (/)

i 'd like to obtain a matrix result with sql:

                       Yi
Oi        Xi        Vi


example of table

Object        axes         value
O1             A1/B1      V1
O1             A2/B1      V2
O1             A1/B2      V3
O1             A2/B2      V4


result wanted:

            B1 B2
O1 A1 V1 V3
O1 A2 V2 V4

Is it possible and how can i do?

thanks Received on Thu Oct 25 2001 - 04:03:48 CDT

Original text of this message

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