Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Looking for a Sql statement
Hi! Thomas
Just write
Do it with REPORT,
Select your table A
Then put Your layout style to master detail
data selection to across/downAnd RUN.
In your data model ,
Your select is just
SELECT column1, column2
FROM table;
Good Luck.
Claire M.
thomasla5440_at_my-dejanews.com a écrit dans l'article
<77lbhs$c5m$1_at_nnrp1.dejanews.com>...
> Looking for a sql statement which will take column 1 and column 2 from
table A
> and make column 1 the header and column 2 the 1 row of data.
>
> example: LAB RESULT
> hemoglobin 10
> wbc 20
> heart rate 70
> height 165
>
> etc, ...
> and you want a report -
> hemoglobin wbc heart rate height etc, ...
> 10 20 70 165
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
Received on Thu Jan 14 1999 - 13:46:40 CST