Re: Select from multiple tables - Mailing list pgsql-general

From Bruno Wolff III
Subject Re: Select from multiple tables
Date
Msg-id 20030606182002.GB709@wolff.to
Whole thread Raw
In response to Select from multiple tables  (Jon Earle <je_pgsql@kronos.honk.org>)
List 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 by date:

Previous
From: Jonathan Bartlett
Date:
Subject: Re: Select from multiple tables
Next
From: kdebisschop@alert.infoplease.com
Date:
Subject: Re: Nulls get converted to 0 problem