I have a table in postgresql, the structure is as follows:
clientes
---------------------
nombre
apellido
pago
deuda
saldo pendiente
The point is that I want to subtract the fields pago - deuda
and the result that appears in saldo pendiente
.
Help me? since I do not understand the documentation.