Re: [PORTS] Port Bug Report: Joins (does not support outer, left, right)

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Deva Vejay <devavejay(at)preveho(dot)com>
Cc: pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] Port Bug Report: Joins (does not support outer, left, right)
Date: 1999-06-01 16:10:24
Message-ID: 375405F0.4718BCBF@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

> Summary: Joins (does not support outer, left, right)
> We were wondering if there is any method of limiting the result
> set of a quary to mimic an outer or left join with out using
> the keywords outer and left.

For a left outer join:

select <cols> from t1, t2
where t1.x = t2.x
union
select <t1 cols>, null,... from t1
where t1.x not in (select t2.x from t2);

--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Stawnyczy, Evan 1999-06-01 17:24:38 A Question.
Previous Message Unprivileged user 1999-06-01 15:36:07 Port Bug Report: ./configure with message installation or configuration problem: C compiler cannot create executables.