sort text field numerically

Поиск
Список
Период
Сортировка
От Frank Morton
Тема sort text field numerically
Дата
Msg-id 020101c1fb42$3665f770$8455e5ce@edison
обсуждение исходный текст
Ответ на order by  (Mathieu Arnold <mat@mat.cc>)
Ответы Re: sort text field numerically
Список pgsql-sql
I have a table with a column called "weight" that
is a text field, but in this case, contains float values,
such as ".8" or "0.25". Might also be null.

How can I sort them in numeric order instead of
textual order? Thanks.




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