Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> sql query on substract
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
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
![]() |
![]() |