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 -> Help me out on tricky SQL!

Help me out on tricky SQL!

From: Á¤¿µ¼® <illudus2_at_kornet.net>
Date: Tue, 11 Sep 2001 14:59:49 +0900
Message-ID: <9nk8q4$oao$1@news1.kornet.net>


Hi, there?

Could you help me out to solve a tricky SQL?

Create table Table1 ( A char(1), B int)

insert into Table1 ( 'a', 1)
insert into Table1 ( 'b', 2)
insert into Table1 ( 'c', 3)
insert into Table1 ( 'd', 4)

Table1
A      B
--- ---
a      1
b      2
c      3
d      4

Based on the above data, how can I display like below...

Desired output

col1 col2 col3 col4


   a        b       c       d
   1        2        3       4

Thanks in advance... Received on Tue Sep 11 2001 - 00:59:49 CDT

Original text of this message

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