行记录编号

SELECT     row_number() over(order by ID) as RowID,ID
FROM       Person

原文地址:https://www.cnblogs.com/yshic/p/3532812.html