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>)
Список pgsql-sql
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
Дата:
Сообщение: Re: About referential integrity.
Следующее
От: "Samuel J. Sutjiono"
Дата:
Сообщение: Re: [GENERAL] Sort problem