DM数据库根据rowid删除重复的记录

oracle中rowid的用法-CSDN博客

delete from stu a where rowid not in (select max(b.rowid) from stu b where a.no=b.no and a.name = b.name and a.sex =b.sex);                                          //这里max使用min也可以

你可能感兴趣的:(数据库,oracle)