2012-08-29 刪除重複資料 6794 0 SQL 摘要:刪除重複資料 將查詢到重複的資料,並刪除只留下一筆資料。 DELETE NEWS_SET WHERE NS_ID NOT IN ( Select Max(NS_ID) From [NEWS_SET] Group By NS_TITLE) AND NS_ID NOT IN ( Select Max(NS_ID) From [NEWS_SET] Group By NS_LINK) 回首頁