Re: How I can get the real data type result instead of - Mailing list pgsql-general

From William ZHANG
Subject Re: How I can get the real data type result instead of
Date
Msg-id dvou7p$23jh$1@news.hub.org
Whole thread Raw
In response to How I can get the real data type result instead of integer data type?  ("Wei Wei" <wei725@lycos.com>)
Responses Re: How I can get the real data type result instead of  (Bruno Wolff III <bruno@wolff.to>)
List 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 by date:

Previous
From: Geoffrey
Date:
Subject: Re: Order of Update - Second Try
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Order of Update - Second Try