Can you help me with SQL statements to find duplicates on multiple fields?
(你能帮我用SQL语句来查找多个字段的重复项吗?)
For example, in pseudo code:
(例如,在伪代码中:)
select count(field1,field2,field3)
from table
where the combination of field1, field2, field3 occurs multiple times
and from the above statement if there are multiple occurrences I would like to select every record except the first one .
(并且从上面的陈述中, 如果有多次出现,我想选择除第一个以外的每个记录 。)
ask by JOE SKEET translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…