Skip site navigation (1) Skip section navigation (2)

From: Brian <Brrrian(at)Excite(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Date: 2001-12-23 00:42:59
Message-ID: (view raw or whole thread)
Lists: pgsql-novice
Given 3 tables:
Table Operations(Op)
Op_ID, Op_Name,...


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


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 want the related Op record.

Stumped again,

In response to

pgsql-novice by date

Next:From: BrianDate: 2001-12-23 00:58:42
Subject: Three table query
Previous:From: Frank BaxDate: 2001-12-22 16:10:38
Subject: Re: Import DB from DOS- dbase4

Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group