一條刪除重復(fù)數(shù)據(jù)且保留一條的SQL
delete from 維修 where exists(select 1 from 維修 a where a.id>維修.id and 維修.電話=a.電話 and soso)posted on 2008-02-26 12:34 sooxin 閱讀(447) 評(píng)論(1) 編輯 收藏 所屬分類: SQL
posted on 2008-02-26 12:34 sooxin 閱讀(447) 評(píng)論(1) 編輯 收藏 所屬分類: SQL
很好,很強(qiáng)大,很實(shí)用 回復(fù) 更多評(píng)論
只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。 | ||
![]() |
||
網(wǎng)站導(dǎo)航:
博客園
IT新聞
Chat2DB
C++博客
博問(wèn)
管理
|
||
相關(guān)文章:
|
||