摘要: 一、重复记录根据单个字段来判断 1、首先,查找表中多余的重复记录,重复记录是根据单个字段(FIELD_CODE)来判断 select * from R_RESOURCE_DETAILS where FIELD_CODE in(select FIELD_CODE from R_RESOURCE_DET 阅读全文
posted @ 2021-02-03 15:13 rjm123456 阅读(228) 评论(0) 推荐(0) 编辑
摘要: -、update UPDATE ADB_SJ_YWCLZQXX A1 SET A1.BJE = A1.ZQME*NVL(( SELECT DECODE(A2.ZQXZDM, '10', (SELECT B1.BQBJZ FROM ADB_DJ_ZQJXQCXX B1 WHERE B1.ZQDM = 阅读全文
posted @ 2021-02-03 14:40 rjm123456 阅读(511) 评论(0) 推荐(0) 编辑