select * from "QY_QYJBXX" /*查询企业名称重复的数据*/
where QYMC in (select QYMC from QY_QYJBXX group by QYMC having count(QYMC) > 1)
SELECT QYMC,RCKTC FROM "QY_QYJBXX"
where QYMC like '%有限公司%' and QYMC like '%[^0-9]%'
DELETE JCSJR.QY_QYJBXX WHERE QYMC LIKE '%办公室';
UPDATE JCSJR.QY_QYJBXX SET QYMC=regexp_replace(QYMC,'[0-9]${1}','') /*更新企业名称后面有数字的*/
SELECT QYMC FROM "QY_QYJBXX" where regexp_like(QYMC,'[0-9]${1,7}')
问题记录:更新代码好像不能一次处理所有的数据