Re: Newbie Query question - Mailing list pgsql-sql

From Rod Taylor
Subject Re: Newbie Query question
Date
Msg-id 1080312551.338.25.camel@jester
Whole thread Raw
In response to Newbie Query question  ("Marcel Loose" <loose@astron.nl>)
List pgsql-sql
> However, this query does not give me the result I expected. It appears that
> the database engine first calculates the cartesian product of the tables A
> and B and then evaluates the query. Hence, I get multiple matches for

Yup.. WHERE filters the results of the join.

> Is there any way to do this, other than using UNION??

This is what you want. I think you could come out with what you want in
other ways, but this is by far the most appropriate.



pgsql-sql by date:

Previous
From: xvx
Date:
Subject: Re: could not create shared memory segment: Invalid argument
Next
From: Hans de Bruin
Date:
Subject: Re: Import from Ms Excel