To add in DB you must use inverse polish notation. For example:
Ordinarily you would write: 1+2=3 Now write: 1 2 add
The result left on top of the stack is 3.