Home >Database >Mysql Tutorial >查找重复记录
无详细内容 无 select * from rm_duty a where exists(select 1 from rm_duty b where b.duty_name=a.duty_name and a.rowidb.rowid )
select * from rm_duty a where exists(select 1 from rm_duty b where b.duty_name=a.duty_name and a.rowid>b.rowid )