Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Stuck with simple Update
Greetings,
This may sound a stupid question but I dont know where else to go.
SQL> SELECT SUM(id1) - (SUM(id2) + SUM(id3)) RESULT 2 FROM table1
RESULT
SQL> SELECT SUM(RESULT_TMP) RESULT
2 FROM (
3 SELECT id1 - (id2 + id3) RESULT_TMP
4 FROM table1
5 );
RESULT
Why am I getting two different results. What am I dng wrong here?
I am using Oracle 10g Enterprise Edition
Any help would be greatly appreciated.
TIA Received on Wed Nov 22 2006 - 09:48:25 CST