pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to retrieve a n-ary tree in SQL?
2+ messages / 2 participants
[nested] [flat]

* How to retrieve a n-ary tree in SQL?
@ 2007-05-14 18:02  Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
  0 siblings, 1 reply; 2+ messages in thread

From: Joost Kraaijeveld @ 2007-05-14 18:02 UTC (permalink / raw)
  To: pgsql-sql

Hi,

Is there a way to get a query (of function) to retrieve a n-ary tree: 1
parent node has n children and the tree is n levels deep?

TIA

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: How to retrieve a n-ary tree in SQL?
@ 2007-05-14 20:12  Rodrigo De León <rdeleonp@gmail.com>
  parent: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
  0 siblings, 0 replies; 2+ messages in thread

From: Rodrigo De León @ 2007-05-14 20:12 UTC (permalink / raw)
  To: pgsql-sql; +Cc: Joost Kraaijeveld <J.Kraaijeveld@askesis.nl>

On 5/14/07, Joost Kraaijeveld <J.Kraaijeveld@askesis.nl> wrote:
> Is there a way to get a query (of function) to retrieve a n-ary tree: 1
> parent node has n children and the tree is n levels deep?

See:

http://search.postgresql.org/search?q=tree&m=1&l=4&d=365&s=r



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-05-14 20:12 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-05-14 18:02 How to retrieve a n-ary tree in SQL? Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
2007-05-14 20:12 ` Rodrigo De León <rdeleonp@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox