Re: Locating all Children given Set of Parents - Mailing list pgsql-sql

From Adam Sherman
Subject Re: Locating all Children given Set of Parents
Date
Msg-id 194520000.1052848010@saturn
Whole thread Raw
In response to Re: Locating all Children given Set of Parents  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Locating all Children given Set of Parents
List pgsql-sql
On 05/13/03 09:47:46 -0700 Josh Berkus wrote:

> Select children.*
> from children where exists (select pc_id
>     from parent_child
>     where pc.child_id = children.id
>     and pc.parent_id IN ($parent_id_list)
>     );

What is "pc_id" referring too?

Thanks,

A.

--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819



pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Locating all Children given Set of Parents
Next
From: Adam Sherman
Date:
Subject: Re: Locating all Children given Set of Parents