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 ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org