pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
joins
4+ messages / 3 participants
[nested] [flat]

* joins
@ 2002-11-04 19:37 Jodi Kanter <jkanter@virginia.edu>
  2002-11-06 01:01 ` Re: joins Bruno Wolff III <bruno@wolff.to>
  0 siblings, 1 reply; 4+ messages in thread

From: Jodi Kanter @ 2002-11-04 19:37 UTC (permalink / raw)
  To: pgsql-admin

Can anyone tell me if there is any real difference between the two different 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=table2.field3

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



 

 

 

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: joins
  2002-11-04 19:37 joins Jodi Kanter <jkanter@virginia.edu>
@ 2002-11-06 01:01 ` Bruno Wolff III <bruno@wolff.to>
  0 siblings, 0 replies; 4+ messages in thread

From: Bruno Wolff III @ 2002-11-06 01:01 UTC (permalink / raw)
  To: Jodi Kanter <jkanter@virginia.edu>; +Cc: pgsql-admin

On Mon, Nov 04, 2002 at 14:37:42 -0500,
  Jodi Kanter <jkanter@virginia.edu> wrote:
> Can anyone tell me if there is any real difference between the two different 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=table2.field3

The first form fixes the join order while the second allows the planner to
choose what order to do the joins in. For just two tables this doesn't
make a difference.



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Fw: joins
@ 2002-11-04 20:02 Jodi Kanter <jkanter@virginia.edu>
  2002-11-05 16:38 ` Re: Fw: joins Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 1 reply; 4+ messages in thread

From: Jodi Kanter @ 2002-11-04 20:02 UTC (permalink / raw)
  To: pgsql-admin

MessageI think this was meant for the list (see below).


----- Original Message ----- 
From: tachung_h 
To: 'Jodi Kanter' 
Sent: Monday, November 04, 2002 2:44 PM
Subject: RE: [ADMIN] joins


I need to work with a group of volunteer developers over the Internet. Developers might be using Window 2000, XP or Linux and produce programs in Tomcat/Java. Is it practical to think that developers would develop with a PostgreSQL database over the Web? This is a development environment, there is no proprietary data in the database.
 
 


Regards 
TaChung Huang (¶À¤j©¾) 

  -----Original Message-----
  From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Jodi Kanter
  Sent: Monday, November 04, 2002 11:38 AM
  To: Postgres Admin List
  Subject: [ADMIN] joins


  Can anyone tell me if there is any real difference between the two different 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=table2.field3

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



   

   

   

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Fw: joins
  2002-11-04 20:02 Fw: joins Jodi Kanter <jkanter@virginia.edu>
@ 2002-11-05 16:38 ` Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Robert Treat @ 2002-11-05 16:38 UTC (permalink / raw)
  To: tachung_h@yahoo.com; +Cc: pgsql-admin

There's no technical reason why you can't do development this way, just
make sure that each development site has access to the database (via
pg_hba.conf) and perhaps the server as well (to view log output and
such)

Robert Treat

> ----- Original Message ----- 
> From: tachung_h <mailto:tachung_h@yahoo.com>  
> To: 'Jodi Kanter' <mailto:jkanter@virginia.edu>  
> Sent: Monday, November 04, 2002 2:44 PM
> Subject: RE: [ADMIN] joins
> 
> I need to work with a group of volunteer developers over the Internet.
> Developers might be using Window 2000, XP or Linux and produce programs
> in Tomcat/Java. Is it practical to think that developers would develop
> with a PostgreSQL database over the Web? This is a development
> environment, there is no proprietary data in the database.
>  





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2002-11-06 01:01 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-11-04 19:37 joins Jodi Kanter <jkanter@virginia.edu>
2002-11-06 01:01 ` Bruno Wolff III <bruno@wolff.to>
2002-11-04 20:02 Fw: joins Jodi Kanter <jkanter@virginia.edu>
2002-11-05 16:38 ` Robert Treat <xzilla@users.sourceforge.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox