Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> How to return Multi-row query into a single row?
Sample Table
DocId
Integer
DateVal Date
TextVal
Varchar2(40)
NumVal
Number(10,0)
Sample Data
<FONT face="Courier New"
size=2>DocId DateVal TextVal NumVal
<FONT face="Courier New"
size=2>12 01/15/2000
<FONT face="Courier New"
size=2>12 Sally
size=2>5 Bob
size=2>5 487025
size=2>4152
<FONT face="Courier New"
size=2>DocId DateVal TextVal NumVal
12 01/15/2000
Sally Smith
5
07/22/2001 Bob Brown
48702
4 152