Re: [SQL] OUTER JOINS

From: Joe Shevland <J_Shevland(at)TurnAround(dot)com(dot)au>
To: Dan Janowski <danj(at)3skel(dot)com>
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] OUTER JOINS
Date: 1999-04-19 06:26:56
Message-ID: 371ACCB0.6A437C5@TurnAround.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I didn't see a response for this, so here goes... I believe you can
implement joins using the followng syntax:

select t1.value from table_one t1, table_two t2 where t1.key = t2.key;

So this would be a straight LEFT join in my understanding. Now, I'm
venturing beyond my experience with PostgreSQL here, but you may be able
to use the associated SQL syntaxes:

select ... where t1.key *= t2.key
select ... where t1.key =* t2.key

etc...

I hope I'm right here :)

Regards,
Joe.

Dan Janowski wrote:
>
> I've looked through the docs and mail lists but I am coming
> up short on references for LEFT/RIGHT/FULL OUTER JOIN
> avalability
> or functional workarounds. It seems that PostgreSQL does
> not have it.
>
> Any recommendations on how to aproximate the functionality?
>
> As a curiosity, is there a problem with supporting these
> OUTER joins or is it merely on the list?
>
> Many thanks,
>
> Dan
>
> --
> Dan Janowski danj(at)3skel(dot)com Triskelion Systems,
> Inc. Bronx, NY

--
---------------------------------------------
,-._|\ | Joe Shevland
/ \ | Principal Consultant
\_,--._/ | Turnaround Solutions Pty. Ltd.
v | http://www.TurnAround.com.au
---------------------------------------------
Skate to where the puck is going and not to
where it has been - Wayne Gretzky

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Guido Piazzi 1999-04-19 12:54:43 Re: [SQL] postgres 6.3.2 and regexp
Previous Message Bill Brandt 1999-04-18 23:37:31 postgres 6.3.2 and regexp