Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Converting many rows to single row.

Re: Converting many rows to single row.

From: Rene Nyffenegger <rene.nyffenegger_at_gmx.ch>
Date: Sat, 11 Nov 2006 12:28:58 +0000 (UTC)
Message-ID: <ej4fma$h8f$2@klatschtante.init7.net>


On 2006-11-09, schan_k <karthiksubram_at_gmail.com> wrote:
> Hi,
> I have 2 tables table A and Table B. For each record in
> table A there are many records in Table b (one-many) . Is it possible
> to have a query which will list all the values of 2 table to be
> represented in one row for a given value of A.
>
> Thanks,
>

See http://www.adp-gmbh.ch/ora/plsql/pipeline.html#pivot and http://www.adp-gmbh.ch/ora/sql/examples/pivot.html

hth, Rene

-- 
  Rene Nyffenegger
  http://www.adp-gmbh.ch
Received on Sat Nov 11 2006 - 06:28:58 CST

Original text of this message

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