From: rodneyr@embratel.com.br
To: pgsql-interfaces@hub.org
Subject: AVG function
Date: Sat, 28 Aug 1999 12:09:39 -0300
Message-ID: <032567DB.00534444.00@ntrjo008.nt.embratel.com.br> (raw)
I'm using the AVG function to get the average of some integer values of my
database,
but the result is comming in the integer format too, and I'm loosing some
precision.
Does someone know how to get the result of the AVG function in a float type,
without
changing the structure of my table?
Thanks,
Rodney.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: rodneyr@embratel.com.br, pgsql-interfaces@hub.org
Subject: Re: AVG function
In-Reply-To: <032567DB.00534444.00@ntrjo008.nt.embratel.com.br>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox