Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 276C0475C9E for ; Mon, 4 Nov 2002 14:35:35 -0500 (EST) Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by postgresql.org (Postfix) with SMTP id 531E5475BA1 for ; Mon, 4 Nov 2002 14:35:34 -0500 (EST) Received: from smtp.mail.virginia.edu by mail.virginia.edu id aa00338; 4 Nov 2002 14:35 EST Received: from jlk3xpc (d-128-19-222.bootp.Virginia.EDU [128.143.19.222]) by smtp.mail.Virginia.EDU (8.11.6/8.11.6) with SMTP id gA4JZDr39480 for ; Mon, 4 Nov 2002 14:35:13 -0500 Message-ID: <01dd01c28439$a48de480$de138f80@virginia.edu> From: Jodi Kanter To: Postgres Admin List Subject: joins Date: Mon, 4 Nov 2002 14:37:42 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01DA_01C2840F.BB949D10" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/45 X-Sequence-Number: 6233 This is a multi-part message in MIME format. ------=_NextPart_000_01DA_01C2840F.BB949D10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can anyone tell me if there is any real difference between the two differen= t ways to create tables joins? select field1, field2 from table1 join table2 using (field3) vs. select field1, field2 from table1, table 2 where table1.field3=3Dtable2.fie= ld3 Thanks Jodi =20=20 _______________________________ Jodi L Kanter BioInformatics Database Administrator University of Virginia (434) 924-2846 jkanter@virginia.edu =20 =20 =20 ------=_NextPart_000_01DA_01C2840F.BB949D10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Can anyone tell me if there is any real= =20 difference between the two different ways to create tables joins?
 
select field1, field2=20 from table1 join table2 using=20 (field3)
 
vs.
 
select field1, field2=20 from table1, table 2 where=20 table1.field3=3Dtable2.field3
 
Thanks
Jodi
  

_______________________________
Jodi=20 L Kanter
BioInformatics Database Administrator
University of=20 Virginia
(434) 924-2846
jkanter@virginia.edu

 

 

 

<= /DIV> ------=_NextPart_000_01DA_01C2840F.BB949D10--