Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Vertical result with Oracle SQL?
georgino.no1_at_gmail.com wrote:
> On Sep 11, 6:21 pm, DA Morgan <damor..._at_psoug.org> wrote:
> > Sorry but I don't see how you can use decode or case in this > situation. > I am trying to generate one vertical line from 3 horizontal where the > name and program fields will be concatenated into one. > With decode or case I will still get 3 rows.
Then UNION all together three queries ... one for col1, one for col2 and one for col3. Be sure to alias the first column name to the final column name you want to see.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Wed Sep 12 2007 - 16:51:38 CDT