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

From: "William ZHANG" <uniware(at)zedware(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How I can get the real data type result instead of
Date: 2006-03-21 13:16:03
Message-ID: dvou7p$23jh$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


"Sigurdur Gunnlaugsson" <sig(at)fjolnet(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rasmus Resen Amossen 2006-03-21 13:48:09 Using postgresql in a HA/load balancing environment?
Previous Message Martijn van Oosterhout 2006-03-21 13:15:21 Re: Order of Update - Second Try