把所有字段中的標(biāo)題字段有重復(fù)的就刪掉,只留一條。
首先保證你的表有唯一能標(biāo)識(shí)該行的字段,如果沒有建議臨時(shí)添加一個(gè)(比如自動(dòng)編號(hào)的字段,假設(shè)字段名為id)
delete
from xinwen
where id not in(select max(id) from xinwen group by biaoti)
Access數(shù)據(jù)庫重復(fù)記錄刪除器(刪除數(shù)據(jù)庫重復(fù)數(shù)據(jù)工具)全程傻瓜化處理,可以快速的幫助您將access數(shù)據(jù)庫中的重復(fù)記錄刪除并保留1條,軟件會(huì)自動(dòng)備份待處理的數(shù)據(jù)庫。
假如某個(gè)表table1有 A B C D E五個(gè)字段 建個(gè)臨時(shí)表未temp 字段結(jié)構(gòu)與 table1一樣,可以這樣delete from tempinsert into temp select distinct a,b,c,d,e from table1delete from table1insert into table1 select * from temp 這樣就把重復(fù)的排除了
- PC官方版
- 安卓官方手機(jī)版
- IOS官方手機(jī)版