摘要:
UPDATE RT_INSURANCEBUY T SET INSURERCODE = '03' WHERE T.FRAMENO = 'LHGCM462242025161' AND T.BUYDATE = ( SELECT T2.BUYDATE FROM RT_INSURANCEBUY T1LEFT JOIN (SELECT MAX(BUYDATE) AS BUYDATE ,FRAMENO FROM RT_INSURANCEBUY GROUP BY FRAMENO) T2 ON T1.FRAMENO = T2.FRAMENO AND T1.BUYDATE = T2 阅读全文