update Aset A.shl = A.shl - B.shl from retmxls A,daysphz Bwhere A.spid = B.spid and A.fdbs = B.fdbs and A.rq = B.rq andA.ontime > '17:37:18' and A.shky = '002' and A.fdbs = 'HKD'