Skip site navigation (1) Skip section navigation (2)

Tree structure

From: Kaare Rasmussen <kar(at)webline(dot)dk>
To: pgsql-general(at)postgreSQL(dot)org
Subject: Tree structure
Date: 1999-02-26 08:06:01
Message-ID: 36D655E9.5F2A00DC@webline.dk (view raw or flat)
Thread:
Lists: pgsql-general
I can't figure this one out. I need a tree structure like this

Number  Pointer
1            0
2            1
3            1
4            2
5            0
6            1
7            5

This should somehow show up like this
Number
1
2
4
3
6
5
7

The whole excercise is because I'd like to show a tree structure:

1
- 2
- - 4
- 3
- 6
5
- 7

Is this possible with PostgreSQL?


Responses

pgsql-general by date

Next:From: Michael DavisDate: 1999-02-26 08:21:44
Subject: RE: [GENERAL] Tree structure
Previous:From: K.T.Date: 1999-02-26 07:50:35
Subject: Re: [GENERAL] Q's: discussion group; pgsql authorization

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group