data order problem

Поиск
Список
Период
Сортировка
От jack
Тема data order problem
Дата
Msg-id 000e01c1e42c$537205c0$1400a8c0@jac
обсуждение исходный текст
Ответы Re: data order problem  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-sql
Hi, all

I use psql v7.2. I have a table which has one column called suburb( and
primary key as well) and data is such as..

THE AAA
THE BBB
THE CDD
THECCC

After I do
select * from xxx order by suburb;
It shows as..

THE AAA
THE BBB
THECCC
THE CDD

why is it not ordered by ASCII sequence. And I found if I put in a data such
as '<ABC>', it goes to last one when you do the same query.

Thank you!

JACK






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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: to_char problem
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Re: data order problem