Re: Newbie Query question

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Newbie Query question
Дата
Msg-id 1080312551.338.25.camel@jester
обсуждение исходный текст
Ответ на Newbie Query question  ("Marcel Loose" <loose@astron.nl>)
Список 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 по дате отправления:

Предыдущее
От: xvx
Дата:
Сообщение: Re: could not create shared memory segment: Invalid argument
Следующее
От: Hans de Bruin
Дата:
Сообщение: Re: Import from Ms Excel