RE: [GENERAL] Relations between tables.

Поиск
Список
Период
Сортировка
От Rudy Gireyev
Тема RE: [GENERAL] Relations between tables.
Дата
Msg-id 199905201844.OAA97993@hub.org
обсуждение исходный текст
Ответ на RE: [GENERAL] Relations between tables.  ("Jackson, DeJuan" <djackson@cpsgroup.com>)
Список pgsql-general

On 20 May 99, at 13:01, Jackson, DeJuan wrote:

> > Being rather new to DBs in general, I wonder - is the relation

<snip>

> > Using a relation constraint, are tables tied together automatically,
> > thus removing the need to use a 'WHERE table1.index = table2.t1index' in
> > select clauses retreiving data in table2 and table1?

You can essentially achive this by creating a view, and then
selecting against the view, rather than the individual tables within it.

> Nope this doesn't even happen in MS Access.  If you build your query in
> Access and look at the SQL (go to the View menu the select SQL) that's
> generated you'll see that all Access is put that part of the WHERE clause
> in for you.  Most other databases aren't that presumptuous.
>
> > christian
>  -DEJ
>
>
>



В списке pgsql-general по дате отправления:

Предыдущее
От: "Jackson, DeJuan"
Дата:
Сообщение: RE: [GENERAL] Relations between tables.
Следующее
От: Brian
Дата:
Сообщение: Re: [GENERAL] postgres getting slow