Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id 2659D474E42 for ; Tue, 16 Jul 2002 14:03:38 -0400 (EDT) Received: from [66.219.92.2] (HELO chocolate-mousse) by davinci.ethosmedia.com (CommuniGate Pro SMTP 3.5.9) with ESMTP id 1579004; Tue, 16 Jul 2002 11:03:36 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Devrim GUNDUZ , PostgreSQL Mailing Lists-SQL Subject: Re: A SQL Training Date: Tue, 16 Jul 2002 11:07:22 -0700 X-Mailer: KMail [version 1.4] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200207161107.22547.josh@agliodbs.com> X-Archive-Number: 200207/243 X-Sequence-Number: 8621 Devrim, > Today, one of my teacher asked me a question for a practice... I could no= t=20 > solve it :) >=20 > Here it comes: >=20 > We are given the name of the grandfather in a family. Let's call him A. A= =20 > has n sons, each son has children . etc. In a month or so, I will be posting an article on advanced tree structure= =20 (based on Joe Celko's work) in PostgreSQL. Until then, buy a copy of SQL for Smarties, 2nd ed. by Joe Celko. He has t= wo=20 chapters on tree structure. --=20 -Josh Berkus Aglio Database Solutions San Francisco