# SUM() more than one field?

**URL:** <https://forum.kirupa.com/t/sum-more-than-one-field/301750>\
**Category:** programming\
**Created:** [December 15, 2009, 4:39am UTC](https://forum.kirupa.com/t/sum-more-than-one-field/301750 "2009-12-15T04:39:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eyebum](https://avatars.discourse-cdn.com/v4/letter/e/e495f1/32.png) [@eyebum](https://forum.kirupa.com/u/eyebum)\
**Post date:** [December 15, 2009, 4:39am UTC](https://forum.kirupa.com/t/sum-more-than-one-field/301750/1 "2009-12-15T04:39:34Z")

</div>

Hey there…  
This is probably terribly simple, but I cannot seem to find the correct syntax…  
Got a table, lots of entries with different labels, and a couple of integer fields for each. I can easily get the total of 1 of the fields for each label with the SUM(field1) GROUP BY label syntax.

What I would like to do is get the total for both of the fields. I tried a few variations:  
SUM (field1, field2)  
SUM (field1 + field2)  
SUM (field1) + SUM(field2)  
but nothing has worked yet…

Little help, please?  
Thanks
