| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Re: sql query syntax
Yaron, I am going to give you the benefit of the doubt. I think you
might want to reconsider my suggestion.
Your target data exists as multiple rows. You want one non-summary row to be returned. Pivoting can definitely accomplish this.
You want a single column from serveral. That seems to be a task that concatenation can be used to accomplish.
Put the two step together.
There are other ways to solve the problem, but the above is fairly simple to figure out and write as a single SQL statement. HTH -- Mark D Powell -- Received on Wed Feb 02 2005 - 10:41:13 CST
![]() |
![]() |