Search Postgresql Archives

Re: Alphanumeric natural order sorting : need generic solution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2013/3/22 John R Pierce <pierce@xxxxxxxxxxxx>
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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux