Re: How I can get the real data type result instead of

Поиск
Список
Период
Сортировка
От William ZHANG
Тема Re: How I can get the real data type result instead of
Дата
Msg-id dvou7p$23jh$1@news.hub.org
обсуждение исходный текст
Ответ на How I can get the real data type result instead of integer data type?  ("Wei Wei" <wei725@lycos.com>)
Ответы Re: How I can get the real data type result instead of  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
"Sigurdur Gunnlaugsson" <sig@fjolnet.net>
> On Mon, 2006-03-20 at 21:10, Wei Wei wrote:
>
> Try:
>
> order by count(id)/age::float

Or you can use the standard grammer:

order by cast(count(id)/age as float)

Regards,
William ZHANG



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

Предыдущее
От: Geoffrey
Дата:
Сообщение: Re: Order of Update - Second Try
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Order of Update - Second Try