From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Good <tomg@admin.nrnet.org>
Cc: PostgreSQL::SQL List <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] calculating percentages
Date: Mon, 12 Jul 1999 11:06:56 -0400
Message-ID: <20270.931792016@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.3.96.990712094714.3092A-100000@admin.nrnet.org>
Thomas Good <tomg@admin.nrnet.org> writes:
> How does one do this: SELECT (current_value/target) * 100;
> in postgres?
Pretty much just like that. What problem are you having?
regards, tom lane
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, tomg@admin.nrnet.org
Subject: Re: [SQL] calculating percentages
In-Reply-To: <20270.931792016@sss.pgh.pa.us>
* 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