Sql Mathematical calculations [closed]

Well, the error message is pretty clear. The idea of “summing” strings just doesn’t make sense. If numbers are really being stored in a string representation, just use cast:

select sum(cast(column as float))

Leave a Comment