pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: vbhatia@ksu.edu
To: pgsql-jdbc@postgresql.org
Subject: mathematical calculations - sql queries
Date: Sun, 29 Jul 2007 21:07:40 -0500
Message-ID: <1185761260.46ad47ec4a9b7@webmail.ksu.edu> (raw)

Hi all,

Thanks for replying to previous mail, I have one more question. Can I
write a postgresql query that retrieves a particular field from a table
and performs some mathematical calculation on that field involving
exponential( exp) and pow functions and storing the result in a new
table.


Somethign like this
select field1 from tablename1 ( performing calculation on field1 ) (
storing in another table)


Thanks and regards,
Vishal




view thread (3+ messages)  latest in thread

Message-ID: <1185761260.46ad47ec4a9b7@webmail.ksu.edu>
Permalink:  ../1185761260.46ad47ec4a9b7@webmail.ksu.edu/
Also on:    postgresql.org/message-id/1185761260.46ad47ec4a9b7@webmail.ksu.edu

 · 

reply

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-admin@postgresql.org
  Cc: vbhatia@ksu.edu, pgsql-jdbc@postgresql.org
  Subject: Re: mathematical calculations - sql queries
  In-Reply-To: <1185761260.46ad47ec4a9b7@webmail.ksu.edu>

* 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