JOINs verses ='s ?
From: bpfh <daniel_page_at_yahoo.fr>
Date: Mon, 9 Apr 2001 10:28:52 +0200
Message-ID: <9arrns$i0m$1_at_s1.read.news.oleane.net>
Date: Mon, 9 Apr 2001 10:28:52 +0200
Message-ID: <9arrns$i0m$1_at_s1.read.news.oleane.net>
Hi,
Let's say that I have 2 tables with 2 cols :
Table #1 - id (pri. key), fn
Table #2 - id (pri.key), ln
Now, my own SQL instruction would be:
Would I be correct in extrapolating this to:
select table1.fn, table2.ln FROM table1, table2 WHERE table1.id LEFT JOIN
table2.id AND table1.id = 1; ?
If not, could anyone give me a quick overview of left / right / outer joins
select table1.fn, table2.ln FROM table1, table2 WHERE table1.id = table2.id
AND table1.id = 1;
Cordially,
Daniel Page Received on Mon Apr 09 2001 - 10:28:52 CEST