I have a table with columns: [id, value] (id = integer PK, value= integer). I'd like to update the value column for a given id, retrieveing the old value. Is posible to do this in a single query? or I need to make a query and then an insert?
Thanks in advance