I would like to execute a SQLite query and order my results with the latest numbers.
For instance:
SQLite will usually order such results when I specify ASC in the text box:
0, 1, 2, A, B, C
While I would like to:
A, B, C, 0, 1, 2
Any ideas? Is it possible?
Thank!
Nick.
I don't know anything about sqllite, but something like this should work (assuming, of course, that there is some function isnumeric): -
isnumeric
order by isnumeric(colA), colA
to display your numerical values first.
Source: https://habr.com/ru/post/1728165/More articles:Java and memory management - javaКак я ошибаюсь в рекурсии триггера в TSQL? - sql-serverОтображение содержимого HTML из результата AJAX - jqueryDownload exe from exe - visual-c ++WCF - какую точку расширения выбрать для применения локализации в потоке? - localizationCan someone explain ja_JP.UTF8? - character-encodingNo default date in SWT DateTime - javaHow to specify encoding during csv file process in PHP? - phpUnique identifier and multiple classes with XPath - classEmacs VCS interface captures only one file - version-controlAll Articles