update transaction_t a set a.TYPEBID =(select decode
(b.REALTYPEid,'162487',220,
 '162401',1411,
 '162404',1402,
 '162403',431,
 '162482',1413) from tt.RealOtherRight@old b where a.TRANSACTIONID=b.id  ) ;用上面语句更新字段TYPEBID,结果
transaction_t表中能够与tt.RealOtherRight@old表对应上的被更新,而没有对应上的却变成可空值,原有值是非空的,为什么?这条语句应该怎样写?