| От | Thomas Lockhart |
|---|---|
| Тема | Re: A fine point about OUTER JOIN semantics |
| Дата | |
| Msg-id | 39B3E918.2D869F2B@alumni.caltech.edu обсуждение исходный текст |
| Ответ на | A fine point about OUTER JOIN semantics (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: A fine point about OUTER JOIN semantics
|
| Список | pgsql-hackers |
> > In some cases, an outer join with WHERE restrictions reduces to
> > an inner join (so the qualification clauses can be consolidated).
> I recall you having muttered something about that before, but I don't
> see how it works. Can you give an example of an outer join that
> reduces to an inner join?
Hmm. This example is pretty silly, but afaik it reduces to an inner
join:
select i, j from t1 left join t2 using (i) where j is not null;
(where t1 has column "i" and t2 has columns "i" and "j").
- Thomas
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера