Just as a very simple example, let\'s say I have table test with sample data like so:
test
a | b ------------- 1 | 18 1 |
With COUNT, you count the elements, using SUM you add numbers (positive, negative or zero) for a result that can be negative.