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 -> SQL Question

SQL Question

From: Lui Yuan Tze <ssplyt_at_pacific.net.sg>
Date: Tue, 28 Apr 1998 22:32:37 +0800
Message-ID: <6i4pkr$37a$1@newton2.pacific.net.sg>


Hi,
I have the following table:
Id Subj Gd Sub_Seq
xx S1 G2 1
xx S2 G4 2
yy S1 G2 1
yy S2 G2 2
yy S3 G5 3

I would like to get the following result:

Id Subj1 Subj2 Subj3 Gd1 Gd2 Gd3

xx S1     S2               G2   G4
yy S1     S2     S3      G2   G2  G5

Any ideas? Received on Tue Apr 28 1998 - 09:32:37 CDT

Original text of this message

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