標題:
刪除重複資料
[打印本頁]
作者:
vean0803i
時間:
2012-4-27 14:38
標題:
刪除重複資料
delete aaaa a
where a.rowid not in
(
select max(b.rowid) from aaaa b
where a.a = b.a
)
a.a(代表a table的欄位)
判斷資料重複
select OIV_NO,count(*) from a02_oinvo2 group by oiv_no
作者:
mark15jill
時間:
2012-4-27 14:39
回復
1#
vean0803i
...這是問題還是分享...?
麻煩選項目發帖
歡迎光臨 麻辣家族討論版版 (http://forum.twbts.com/)