类似这样:
tempA = select a from tab where id=1
update set a = TempA + 20 where id=1
类似这样的功能用一句sql如何实现?
------解决方案--------------------------------------------------------
update XXX set a = a + 20 where id = 1
------解决方案--------------------------------------------------------
好象是這個意思?
Select tempA = a + 20 from tab where id=1