How I can get the real data type result instead of integer data type?

From: "Wei Wei" <wei725(at)lycos(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: How I can get the real data type result instead of integer data type?
Date: 2006-03-20 21:10:51
Message-ID: 20060320211051.57D2886B12@ws7-1.us4.outblaze.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In a query, there is something like

order by count(id)/age

where both id and age are the integer data type.

From a query result, I believe the operation count(id)/age yields a integer. I need it in real data type. After searching the online document, I haven't found any related information. Can someone help me out on this problem, please.

Thanks,

w

--
_______________________________________________

Search for businesses by name, location, or phone number. -Lycos Yellow Pages

http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John D. Burger 2006-03-20 21:16:31 Re: Double checking my logic?
Previous Message Adrian Klaver 2006-03-20 20:44:42 Re: Double checking my logic?