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  ("Joel Burton" <joel@joelburton.com>)
Список 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 по дате отправления:

Предыдущее
От: juerg.rietmann@pup.ch
Дата:
Сообщение: date_part, how to use
Следующее
От: Mathieu Arnold
Дата:
Сообщение: Re: order by