Re: Select from multiple tables

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Select from multiple tables
Дата
Msg-id 20030606182002.GB709@wolff.to
обсуждение исходный текст
Ответ на Select from multiple tables  (Jon Earle <je_pgsql@kronos.honk.org>)
Список pgsql-general
On Fri, Jun 06, 2003 at 11:17:01 -0400,
  Jon Earle <je_pgsql@kronos.honk.org> wrote:
>
> Hi,
>
> I want to select data from two tables, with the keying information for the
> second table coming from the select results of the first.  Can this be
> done in one call, or will I need to resort to two calls - one to get the
> record from the first table, then a second call to get the record from the
> second table based on a key contained in the first results set?

It sounds like you want to join the tables. It is hard to say for sure
since you haven't provided details about the tables and what you are
trying to get back.

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

Предыдущее
От: Jonathan Bartlett
Дата:
Сообщение: Re: Select from multiple tables
Следующее
От: kdebisschop@alert.infoplease.com
Дата:
Сообщение: Re: Nulls get converted to 0 problem