Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f0HFt9028999 for ; Wed, 17 Jan 2001 10:55:09 -0500 (EST) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from me.tm.ee (adsl895.estpak.ee [213.168.23.133]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0GGlq006714; Tue, 16 Jan 2001 11:47:52 -0500 (EST) (envelope-from hannu@tm.ee) Received: from tm.ee (IDENT:hannu@localhost.localdomain [127.0.0.1]) by me.tm.ee (8.9.3/8.9.3) with ESMTP id SAA00902; Tue, 16 Jan 2001 18:44:18 +0200 Message-ID: <3A647A62.BB0B0DA@tm.ee> Date: Tue, 16 Jan 2001 18:44:18 +0200 From: Hannu Krosing X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: Mauricio Hipp Werner CC: Thomas Lockhart , Alexaki Sofia , pgsql-sql@postgresql.org, Markus Wagner , pgsql-interfaces@postgresql.org Subject: Re: outer join in PostgreSql References: <012701c07f40$c7c0a6e0$0672148f@cadm.pjud> <3A63D83D.93FE66A4@alumni.caltech.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200101/170 X-Sequence-Number: 786 Thomas Lockhart wrote: > > Mauricio Hipp Werner wrote: > > > > I need help, which is the symbol used in postgreSql to carry out the outer > > join. > > > > in oracle the is used (+) > > in sybase the is used * and > > in postgreSql? > > The PostgreSQL outer join is accomplished using SQL92 syntax. You will > not find real outer joins *except* in the current beta release, and > beware that there may be some tweaks to the grammar to help with > conformance to the standard. > > In any case, check the standard or try something like "select * from t1 > left outer join t2 on (i)". To get a feel you could use MS Access visual query builder and then view the source. I have not checked it lately, but it very likely produces SQL92 compliant outer joins. ----------- Hannu