SQL刪除徹底重複數據

with a  as (select pn ,row_number()over(partition by pn order by pn) row_num from dianlu_bak_160115)spa --select pn,COUNT(1),max(row_num) maxr,MIN(row_num) minr from a group by pn having COUNT(1)>1it
相關文章
相關標籤/搜索