重复值显示重复多少次

select Id, row_number() over (partition by WoCode order by WoCode) as group_idx
from AmsWorkBill_WoCommand

posted @ 2018-08-09 10:22  纵一苇之所如-  阅读(205)  评论(0编辑  收藏  举报