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: Help..join on two table , Selecting records from two tables

Re: Help..join on two table , Selecting records from two tables

From: Cool Ahoy <coolahoy_at_hotmail.com>
Date: 22 Jul 2002 12:30:29 -0700
Message-ID: <2b5fc3f1.0207221130.2ea63c54@posting.google.com>


Thanks Rene, I fixed it

Rene Nyffenegger <rene.nyffenegger_at_gmx.ch> wrote in message news:<Xns924CE653C5C4Agnuegischgnueg_at_130.133.1.4>...
> > I am new to Oracle and I am trying to figure out a way to do a select
> > on two tables.
> >
> > Table A
> > --------
> > Col 1A, Col 2A
> >
> > Table B
> > --------
> > Col 1B, Col 2B
> >
> > Here is my query:
> >
> > Select * from TableB where TableA.Col1A=TableB.Col1B and TableA.Col2A
> > <> 1
>
>
> This SQL Statement is invalid. If you want to join TableA and TableB, you
> must include both in the from part of your query:
>
> Select * from TableA, TableB where....
>
> Hth
>
> Rene
Received on Mon Jul 22 2002 - 14:30:29 CDT

Original text of this message

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