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

Home -> Community -> Usenet -> c.d.o.server -> Why do these two sum SQLs give different results since they should be identical Very odd!!

Why do these two sum SQLs give different results since they should be identical Very odd!!

From: Julio <julio234_at_hotmail.com>
Date: 2000/05/25
Message-ID: <7VgX4.15674$Ms1.428271@zombie.newscene.com>#1/1

SELECT (
SUM((NBR_KW_PER_INTERVAL_1)+ SUM(NBR_KW_PER_INTERVAL_2))/2 FROM
tf_interval_meter_usage a, td_billing_acct b, td_service_point c, td_meter d

SELECT
sum(NBR_KW_PER_INTERVAL_1 + NBR_KW_PER_INTERVAL_2 )/2 FROM
tf_interval_meter_usage a, td_billing_acct b, td_service_point c, td_meter d   Received on Thu May 25 2000 - 00:00:00 CDT

Original text of this message

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