Re: order by question.

From: Douglas Toltzman <doug(at)oakstreetsoftware(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: order by question.
Date: 2007-05-03 20:29:11
Message-ID: 4AFD55F2-B57C-4359-AA97-605C5B3B644E@oakstreetsoftware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Your query doesn't appear to include an "order by" clause. The
results won't be sorted without an "order by".

On May 3, 2007, at 4:12 PM, Jose Blanco wrote:

> I’m using version 7.3 of postgres and when I issue the following
> command
>
>
>
> select author, sort_author from itemsbyauthor where sort_author
> like 'tan%';
>
>
>
> I get the following results:
>
>
>
> Author sort_author
>
>
>
> Tan, Weihong | tan, weihong
>
> Tang, S. C. | tang, s. c.
>
> Tan, Fang | tan, fang
>
>
>
> Note how the tan’s are not grouped together when I think they
> should be. Is this something that is fixed in a more current
> version of postgres?
>
>
>
> Thank you!
>
>
>
>

Douglas Toltzman
doug(at)oakstreetsoftware(dot)com
(910) 526-5938

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2007-05-03 22:50:44 Re: Grantor name gets lost when grantor role dropped
Previous Message Jose Blanco 2007-05-03 20:12:26 order by question.