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

Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL Problem

Re: SQL Problem

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Thu, 17 Mar 2005 09:40:02 -0800
Message-ID: <1111080998.155934@yasure>


Stephen Morton wrote:

> Please could someone help me with this problem. I have a table 'tab1'
> that looks this:
>
> Col1 Col2
> ---- -----
> A Alpha
> A Bravo
> B Charlie
> B Delta
>
> and a table 'tab2' that looks like this
>
> Col1 Col3
> ---- ----
> A 1
> B 2
>
> I would like produce this report from the tables:
>
> Col1 Col3 Col2
> ---- ---- ----
> A 1 Alpha Bravo
> B 2 Charlie Delta
>
> I can easily solve this problem using PL/SQL but wonder if I am
> missing a simpler SQL solution.
>
> I am using Oracle 8i and 9i.
>
> Thanks in advance, Stephen.

No.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Thu Mar 17 2005 - 11:40:02 CST

Original text of this message

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