Re: PostgreSQL Outer Joins - Mailing list pgsql-general

From wsheldah@lexmark.com
Subject Re: PostgreSQL Outer Joins
Date
Msg-id 200112101859.NAA22725@interlock2.lexmark.com
Whole thread Raw
In response to PostgreSQL Outer Joins  ("Campano, Troy" <Troy.Campano@LibertyMutual.com>)
List pgsql-general

Yes, outer joins are supported as of 7.1. The basic syntax is:

SELECT field1, field2 FROM t1 LEFT OUTER JOIN t2 ON t1.id = t2.id

You can use LEFT OUTER JOIN, RIGHT OUTER JOIN, or FULL OUTER JOIN. See the docs
for details at http://www.postgresql.org/idocs/index.php?sql-select.html.

--Wes Sheldahl



"Campano, Troy" <Troy.Campano%LibertyMutual.com@interlock.lexmark.com> on
12/10/2001 01:24:41 PM

To:   "Pgsql-General (pgsql-general@postgresql.org)"
      <pgsql-general%postgresql.org@interlock.lexmark.com>
cc:    (bcc: Wesley Sheldahl/Lex/Lexmark)
Subject:  [GENERAL] PostgreSQL Outer Joins




Does PostgreSQL 7.1.3 support outer joins; or do you still need to use
subqueries?

If it does support outer joins, does anyone know the syntax?

If it does not, does anyone know when it might?


Thank you for your time!

Troy Campano







pgsql-general by date:

Previous
From: "Robert B. Easter"
Date:
Subject: Re: PostgreSQL Outer Joins
Next
From: Doug McNaught
Date:
Subject: Re: PostgreSQL Outer Joins