简单给查询表添加序号
SELECTrow_number() over(order by inserttime asc) as id,* FROM [RecordDrawScore]
来源: http://www.bubuko.com/infodetail-3076452.html