From: Oleg B. <ph...@ma...> - 2004-11-10 08:40:39
|
Hi! On Wed, Nov 10, 2004 at 01:50:55AM +0200, Ksenia Marasanova wrote: > Now another question: how to search RelatedJoin? I have a table > Address with many-to-many relation to it self. Address kan have > multiple addresses as parents, and can be a parent on it's own. I'd > like to find all children of given parent. How should I build this > query with SQLObject? The web is full of articles on hierarchical SQL. See, e.g.: http://www.onlamp.com/lpt/a/5007 http://www.oreillynet.com/lpt/a/2958 Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |