Re: Alphanumeric natural order sorting : need generic solution

Поиск
Список
Период
Сортировка
От Martín Marqués
Тема Re: Alphanumeric natural order sorting : need generic solution
Дата
Msg-id CABeG9Lv0g3qOU1i3GWA+Gs2HZsa5b-dCPQ8_X0hp7tVfPCTg3Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Alphanumeric natural order sorting : need generic solution  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
2013/3/22 John R Pierce <pierce@hogranch.com>
On 3/22/2013 12:40 AM, Umashanker, Srividhya wrote:

Rows with orderby

 

I am expecting

 

 

1, bay1

2, bay2

10, bay10

11, bay11


...  order by id,name;


That would be true if the last digits of the name attribute is equal to the id attribute (which would mean that there is redundancy).


--
Martín Marqués
select 'martin.marques' || '@' || 'gmail.com'
DBA, Programador, Administrador
Вложения

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

Предыдущее
От: Alexander Farber
Дата:
Сообщение: Re: Re: Matching uppercased russian words (\x0410-\x042F) in UTF8 database 8.4.13
Следующее
От: Misa Simic
Дата:
Сообщение: Re: How to join table to itself N times?