pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Camila Rocha <camilarrocha@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: rows in order
Date: Fri, 4 Oct 2002 14:37:54 +0100
Message-ID: <200210041437.54793.dev@archonet.com> (raw)
In-Reply-To: <OE40vN3qljWwY0VnkB4000054b0@hotmail.com>
References: <OE40vN3qljWwY0VnkB4000054b0@hotmail.com>

On Monday 30 Sep 2002 7:29 pm, Camila Rocha wrote:
> Hi!
>
> Is there a way to put in order the rows in a table? the problem is that i
> want to keep a "tree" in the db, but the leaves must be ordered... does
> someone have an idea?

Do a search on "Joe Celko" and "tree" and you should find a clean way to model 
trees in SQL.

-- 
  Richard Huxton



view thread (5+ messages)  latest in thread

Message-ID: <200210041437.54793.dev@archonet.com>
Permalink:  ../200210041437.54793.dev@archonet.com/
Also on:    postgresql.org/message-id/200210041437.54793.dev@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, camilarrocha@hotmail.com
  Subject: Re: rows in order
  In-Reply-To: <200210041437.54793.dev@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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