Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Why do these two sum SQLs give different results since they should be identical Very odd!!
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
![]() |
![]() |