oracle 删除表中重复的数据
DELETE
FROM yys_jbxx a
WHERE rowid > ( SELECT min(rowid)
FROM yys_jbxx b
WHERE b.id = a.id and b.comp_name=a.comp_name);
DELETE
FROM yys_jbxx a
WHERE rowid > ( SELECT min(rowid)
FROM yys_jbxx b
WHERE b.id = a.id and b.comp_name=a.comp_name);