Re: order by question.

Поиск
Список
Период
Сортировка
От Douglas Toltzman
Тема Re: order by question.
Дата
Msg-id 4AFD55F2-B57C-4359-AA97-605C5B3B644E@oakstreetsoftware.com
обсуждение исходный текст
Ответ на order by question.  ("Jose Blanco" <blancoj@umich.edu>)
Список pgsql-bugs
Your query doesn't appear to include an "order by" clause.  The=20=20
results won't be sorted without an "order by".

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

> I=92m using version 7.3 of postgres and when I issue the following=20=20
> command
>
>
>
> select author, sort_author from itemsbyauthor where sort_author=20=20
> 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=92s are not grouped together when I think they=20=20
> should be.  Is this something that is fixed in a more current=20=20
> version of postgres?
>
>
>
> Thank you!
>
>
>
>

Douglas Toltzman
doug@oakstreetsoftware.com
(910) 526-5938

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Jose Blanco"
Дата:
Сообщение: order by question.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Grantor name gets lost when grantor role dropped