Ver originalUPDATE tabla SET campo = (select (campo1 + campo2 + campo3) gastos FROM tabla where condicion)