表格T 的栏位A 跟  栏位B 相同即为重复

sn 为唯一值

delete 表格T where sn not in(select max(sn) from 表格T group by 栏位A, 栏位B)

相关文章