Jump to content

Archived

This topic is now archived and is closed to further replies.

pelegk2

very strange problem with sum() function

Recommended Posts

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

?>[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.