Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> sql query on substract

sql query on substract

From: Jonny Delmont <jonny99delmont_at_yahoo.co.uk>
Date: Fri, 26 Jul 2002 01:43:20 -0800
Message-ID: <F001.004A316F.20020726014320@fatcity.com>

How to substract my s_sum column in sql statement ?

S_MONTH S_SUM
--------------- ----------

JAN                   1000
FEB                   1200
MAR                   1250

I want the result should look like this :

S_MONTH S_SUM
--------------- ----------

JAN                   0
FEB                   200
MAR                   50

Any idea please?

Thanks,
Jonny



Get a bigger mailbox -- choose a size that fits your needs.

http://uk.docs.yahoo.com/mail_storage.html
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: =?iso-8859-1?q?Jonny=20Delmont?=   INET: jonny99delmont_at_yahoo.co.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Jul 26 2002 - 04:43:20 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US