[SOLVED] problem with sum() funtion
Posted: Thu Dec 18, 2003 1:23 am
i am doing
SELECT SUM('val') as xx from mydata
where val is of type float
even when i do this on mySql i get 0 as the total value!!!!
why?
(i dont have negative numbers
thanks in advance
peleg
?>
SELECT SUM('val') as xx from mydata
where val is of type float
even when i do this on mySql i get 0 as the total value!!!!
why?
(i dont have negative numbers
thanks in advance
peleg
?>