Re: About referential integrity.

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: About referential integrity.
Дата
Msg-id
Pine.LNX.4.30.0202251412230.836-100000@peter.localdomain
Ответ на
Список
Дерево обсуждения
About referential integrity. BOURIAUD <david.bouriaud@ac-rouen.fr>
Re: About referential integrity. Oliver Elphick <olly@lfix.co.uk>
Re: About referential integrity. David BOURIAUD <david.bouriaud@ac-rouen.fr>
Re: About referential integrity. "Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Re: About referential integrity. Stephan Szabo <sszabo@megazone23.bigpanda.com>
Re: About referential integrity. "Josh Berkus" <josh@agliodbs.com>
Re: About referential integrity. Stephan Szabo <sszabo@megazone23.bigpanda.com>
Re: About referential integrity. Peter Eisentraut <peter_e@gmx.net>
Re: About referential integrity. "Josh Berkus" <josh@agliodbs.com>
BOURIAUD writes:

> So, why souldn't I be abble to write :
> select * from t1, t2;
>
> and have the backend returns me only the rows that have t1.key1 = t2.key2 ???

If that's what you want you can write

select * from t1 natural join t2;

-- 
Peter Eisentraut   peter_e@gmx.net


В списке pgsql-sql по дате отправления
От: Oliver Elphick
Дата:
От: Samuel J. Sutjiono
Дата:
Сообщение: Re: [GENERAL] Sort problem
FAQ