Locating all Children given Set of Parents

Поиск
Список
Период
Сортировка
От Adam Sherman
Тема Locating all Children given Set of Parents
Дата
Msg-id 184690000.1052842782@saturn
обсуждение исходный текст
Ответы Re: Locating all Children given Set of Parents
Список pgsql-sql
I have three tables: parents, children & parent_child_mm.

(So Parents and Children are in a Many-to-Many relationship.)

Given a set of Parents, say 1, 2 & 3, how do I retrieve all children in an 
efficient manner? (I want each child to appear only once.)

Thanks,

A.

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



В списке pgsql-sql по дате отправления:

Предыдущее
От: "Ryan"
Дата:
Сообщение: N all-way relationship
Следующее
От: chester c young
Дата:
Сообщение: Re: N all-way relationship