viewing the original (chrnological) order of entered records - Mailing list pgsql-general

From Sven Van Acker
Subject viewing the original (chrnological) order of entered records
Date
Msg-id 001e01c32f35$ba9dc5e0$4441b886@starpc18
Whole thread Raw
Responses Re: viewing the original (chrnological) order of entered
List pgsql-general

Hi

 

I’ve the following problem:

 

I have a 2-column table with columns “person_id”(int4) and “phase”(text).

 

When I entered the following records in a chronological fashion: <1, “high school”>; <1, “childhood”> and <2, “university”>;

 

 

I requested the following select-statement.

 

SELECT person_id, phase FROM life ORDER BY person_id

 

And found the tuple <1, “childhood”> before the tuple <1, “high school”>.

 

I want to view the chronological order of my entries, but ordered by person_id.

Is this possible in postgresql?

 

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: 2 servers with 1 database cluster
Next
From: Csaba Nagy
Date:
Subject: Re: viewing the original (chrnological) order of entered