Three table query - Mailing list pgsql-novice

From Brian
Subject Three table query
Date
Msg-id 5.1.0.14.2.20011222165742.02908b30@pop.we.mediaone.net
Whole thread Raw
Responses Re: Three table query
List pgsql-novice
Sorry, first post with no topic.

Given 3 tables:
---------------
Table Operations(Op)
Op_ID, Op_Name,...

and

Table TravelerHEADER(TravH)
TravH_ID, TravName, Part_ID,...

and

Table TravelerDETAIL(TravD)
TravD_ID, TravH_ID, Op_ID, TravOrder,...

How can I retrieve the OP RecordSet
associated with the subset of TravD records
given a single TravH_ID?

That is to say:
There are a finite set of travd records that relate to a singular travh record... for each of those travd records I
wantthe related Op record. 

Stumped again,
Brian


pgsql-novice by date:

Previous
From: Brian
Date:
Subject:
Next
From: Frank Bax
Date:
Subject: Re: Three table query