Re: Order by not working - Mailing list pgsql-general

From Peter Coppens
Subject Re: Order by not working
Date
Msg-id 39D5CE9D-B64F-420F-8260-88B6CD50DED3@datylon.com
Whole thread Raw
In response to Order by not working  (Dan Nessett <dnessett@yahoo.com>)
Responses Re: Order by not working
List pgsql-general
Not sure how you select the household

>
> The result is (only the first column is shown):
>
> household_name
>
> "Garcia"
> "Armstrong"
> "Armstrong"
> "Bauer"
> "Bauer"
> "Berst"
> "Berst"
> "Minch (xxxx)"
> "Berst"
> “Besel”


but unless you select from the resulting table using again an order by, the rows will be returned in an undetermined
order.Such is the nature of the relational model - there is no order you can rely on when selecting, unless you specify
it

Hth,

Peter


pgsql-general by date:

Previous
From: Paul van der Linden
Date:
Subject: Slow index creation
Next
From: Michael Lewis
Date:
Subject: Re: Slow index creation