sql 查詢去掉冗餘數據

一、刪除重複數據ide with aaa as   (select ROW_NUMBER() over(partition by materialid order by materialid) ordernum,* from cc  )spa delete from aaa where ordernum<=1.net     二、it 選擇重複,消除重複和選擇出序列  有例表:emp  emp_n
相關文章
相關標籤/搜索