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.