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